jufubao-base 1.0.287 → 1.0.289

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 (30) hide show
  1. package/get.package.path.js +2 -2
  2. package/package.json +1 -1
  3. package/src/components/JfbBaseCard/JfbBaseCard.vue +6 -0
  4. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +6 -0
  5. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +6 -0
  6. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +6 -0
  7. package/src/components/JfbBaseChangeCompany/Api.js +18 -0
  8. package/src/components/JfbBaseChangeCompany/Attr.js +18 -0
  9. package/src/components/JfbBaseChangeCompany/JfbBaseChangeCompany.vue +201 -0
  10. package/src/components/JfbBaseChangeCompany/JfbBaseChangeCompanyLess.less +79 -0
  11. package/src/components/JfbBaseChangeCompany/JfbBaseChangeCompanyMixin.js +30 -0
  12. package/src/components/JfbBaseChangeCompany/Mock.js +7 -0
  13. package/src/components/JfbBaseChangeCompany/cusAttr/advanced.js +24 -0
  14. package/src/components/JfbBaseChangeCompany/cusAttr/content.js +27 -0
  15. package/src/components/JfbBaseChangeCompany/cusAttr/style.js +127 -0
  16. package/src/components/JfbBaseChoseCompany/Api.js +33 -0
  17. package/src/components/JfbBaseChoseCompany/Attr.js +18 -0
  18. package/src/components/JfbBaseChoseCompany/JfbBaseChoseCompany.vue +350 -0
  19. package/src/components/JfbBaseChoseCompany/JfbBaseChoseCompanyLess.less +79 -0
  20. package/src/components/JfbBaseChoseCompany/JfbBaseChoseCompanyMixin.js +30 -0
  21. package/src/components/JfbBaseChoseCompany/Mock.js +9 -0
  22. package/src/components/JfbBaseChoseCompany/cusAttr/advanced.js +24 -0
  23. package/src/components/JfbBaseChoseCompany/cusAttr/content.js +69 -0
  24. package/src/components/JfbBaseChoseCompany/cusAttr/style.js +327 -0
  25. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +2 -3
  26. package/src/components/JfbBaseOrderList/Mock.js +1 -1
  27. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +3 -0
  28. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffective.vue +3 -0
  29. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +17 -7
  30. package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +6 -2
@@ -8,11 +8,11 @@
8
8
  */
9
9
  const getPackagePath = (threePackagePath, packname = 'gxd-commands-bussiness')=>{
10
10
  if(packname === 'gxd-commands-bussiness') {
11
- return `/Users/shiyonggao/home/root/Base-Jufubao/xd-commands-bussiness/${threePackagePath}`;
11
+ return `/Users/shiyonggao/Desktop/code/BASE/UNIAPP/xd-commands-bussiness/${threePackagePath}`;
12
12
  }
13
13
 
14
14
  if (packname === 'gxd-uni-library-editx') {
15
- return `/Users/shiyonggao/home/root/Base-Jufubao/xd-uni-library-editx/${threePackagePath}`;
15
+ return `/Users/shiyonggao/Desktop/code/BASE/UNIAPP/xd-uni-library-editx/${threePackagePath}`;
16
16
  }
17
17
 
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.287",
3
+ "version": "1.0.289",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -652,6 +652,12 @@ export default {
652
652
 
653
653
  //登录成功调整地址优先级
654
654
  this.inCallback = inCallback || this.allEntryPath || this.settings.index;
655
+
656
+ //检查是否为小程序环境
657
+ //#ifdef H5
658
+ if(this.jfbAuthorize.checkIsH5ToMpEnv(this, this.inCallback ,'card')) return;
659
+ // #endif
660
+
655
661
  this.getContent();
656
662
 
657
663
  this.getCardList(options);
@@ -825,6 +825,12 @@ export default {
825
825
 
826
826
  //登录成功调整地址优先级
827
827
  this.inCallback = inCallback || this.allEntryPath || this.settings.index;
828
+
829
+ //检查是否为小程序环境
830
+ //#ifdef H5
831
+ if(this.jfbAuthorize.checkIsH5ToMpEnv(this, this.inCallback ,'card')) return;
832
+ // #endif
833
+
828
834
  this.getContent();
829
835
  if(this.tabIndex===1) {
830
836
  this.getCardList(options);
@@ -233,6 +233,12 @@
233
233
  }
234
234
  this.inCallback = inCallback || this.settings.index;
235
235
 
236
+ //检查是否为小程序环境
237
+ //#ifdef H5
238
+ if(this.jfbAuthorize.checkIsH5ToMpEnv(this, this.inCallback ,'card')) return;
239
+ // #endif
240
+
241
+
236
242
  this.getList();
237
243
  },
238
244
 
@@ -131,6 +131,12 @@
131
131
  }
132
132
  this.inCallback = inCallback || this.settings.index;
133
133
 
134
+ //检查是否为小程序环境
135
+ //#ifdef H5
136
+ if(this.jfbAuthorize.checkIsH5ToMpEnv(this, this.inCallback ,'card')) return;
137
+ // #endif
138
+
139
+
134
140
  this.getList();
135
141
  },
136
142
 
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+ /**
3
+ * @description 接口配置,
4
+ * 在设置方法名字当时候,别忘记加上【模块名字】:Change
5
+ * @type {*[]}
6
+ */
7
+ module.exports = [
8
+ {
9
+ //设置方法名字当别忘记加上【模块名字】:Change
10
+ mapFnName: 'getChangeCompanyItem',
11
+ title: '获取电影广场列表',
12
+ path: '/saas/v1/company/item',
13
+ isRule: false,
14
+ params: {},
15
+ isConsole: true,
16
+ disabled: true,
17
+ },
18
+ ];
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+ import Style from './cusAttr/style'
3
+ import Advanced from './cusAttr/advanced'
4
+ import Content from './cusAttr/content'
5
+ /**
6
+ * @description 当表单组件中有联动操作时候,使用方法进行返回
7
+ */
8
+ export default {
9
+ style: [],
10
+ content: (data, gValue, gColor, oldData) => {
11
+ return [
12
+ ...Style(data, gValue, gColor, oldData),
13
+ ...Advanced(data, gValue, gColor, oldData),
14
+ ...Content(data, gValue, gColor, oldData),
15
+ ].filter(i => i)
16
+ },
17
+ advanced: [],
18
+ };
@@ -0,0 +1,201 @@
1
+ <template>
2
+ <view
3
+ class="jfb-base-change-company"
4
+ @click="handleEditxSelect"
5
+ :class="{ editx: isEditx && active }"
6
+ >
7
+ <!--#ifdef H5-->
8
+ <view
9
+ class="jfb-base-change-company__edit"
10
+ :class="{ editx: isEditx && active }"
11
+ v-if="isEditx && active"
12
+ >
13
+ <view class="jfb-base-change-company__edit-icon" @click="delEdit"
14
+ >删除</view
15
+ >
16
+ </view>
17
+ <!-- #endif -->
18
+ <view class="jfb-base-change-company__body">
19
+ <view
20
+ @click="handleToChangeCompany"
21
+ :style="[contWrapStyle]"
22
+ class="jfb-base-change-company__body-wrap"
23
+ >
24
+ <view class="jfb-base-change-company__body-wrap-left">
25
+ <XdFontIcon size="28" icon="iconxingzhuangjiehe"></XdFontIcon>
26
+ <view
27
+ :style="{
28
+ margin: companyPosition === 'left' ? '0 0 0 16rpx' : '0 auto',
29
+ }"
30
+ class="jfb-base-change-company__body-wrap-left-name"
31
+ >{{ company_name||'请选择企业' }}</view
32
+ >
33
+ </view>
34
+ <XdFontIcon size="28" icon="iconxiangyou_xian"></XdFontIcon>
35
+ </view>
36
+ </view>
37
+ </view>
38
+ </template>
39
+
40
+ <script>
41
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
42
+ import { jfbRootExec } from "@/utils/xd.event";
43
+ import JfbBaseChangeCompanyMixin from "./JfbBaseChangeCompanyMixin";
44
+ import { getContainerPropsValue, gCPVal } from "@/utils/xd.base";
45
+ import componentsMixins from "@/mixins/componentsMixins";
46
+ import extsMixins from "@/mixins/extsMixins";
47
+ import store from "@/store";
48
+
49
+ export default {
50
+ name: "JfbBaseChangeCompany",
51
+ components: {
52
+ XdFontIcon,
53
+ },
54
+ mixins: [componentsMixins, extsMixins, JfbBaseChangeCompanyMixin],
55
+ data() {
56
+ return {
57
+ companyPosition: "",
58
+ contentPadding: {},
59
+ backgroundColor: "",
60
+ fontStyle: {},
61
+ changeCompanyPath: "",
62
+ company_name: ''
63
+ };
64
+ },
65
+ watch: {
66
+ container(value, oldValue) {
67
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
68
+ if (this.$configProject["isPreview"]) this.init(value);
69
+ },
70
+ },
71
+ computed: {
72
+ contWrapStyle() {
73
+ return {
74
+ padding: this.getMarginAndPadding(this.contentPadding),
75
+ backgroundColor: this.backgroundColor,
76
+ color: this.fontStyle.color,
77
+ };
78
+ },
79
+ },
80
+ created() {
81
+ this.init(this.container);
82
+
83
+ //todo
84
+ },
85
+ methods: {
86
+ onJfbLoad(options) {
87
+ jfbRootExec("getChangeCompanyItem", {
88
+ vm: this,
89
+ data: {},
90
+ }).then((res) => {
91
+ this.company_name = res.company_name
92
+ });
93
+ },
94
+ /**
95
+ * @description 监听事件变化
96
+ * @param container {object} 业务组件对象自己
97
+ */
98
+ init(container) {
99
+ //content
100
+ this.companyPosition = gCPVal(container, "companyPosition", "left", {});
101
+ //style
102
+ this.contentPadding = gCPVal(
103
+ container,
104
+ "contentPadding",
105
+ { top: 24, bottom: 24, left: 48, right: 48 },
106
+ {
107
+ sKey: "contentPaddingStatus",
108
+ fields: ["contentPadding"],
109
+ isPMR: true,
110
+ }
111
+ );
112
+ this.backgroundColor = gCPVal(container, "backgroundColor", "", {
113
+ sKey: "backgroundStyleStatus",
114
+ fields: ["backgroundColor"],
115
+ });
116
+ this.fontStyle = gCPVal(
117
+ container,
118
+ "fontStyle",
119
+ [
120
+ {
121
+ color: "#333",
122
+ },
123
+ ],
124
+ { sKey: "fontStyleStatus", fields: ["fontStyle"], isMerge: true }
125
+ );
126
+ console.log(this.fontStyle, "this.fontStyle");
127
+
128
+ //advanced
129
+ this.changeCompanyPath = getContainerPropsValue(
130
+ container,
131
+ "content.changeCompanyPath",
132
+ { value: "" }
133
+ ).value;
134
+ },
135
+ handleToChangeCompany() {
136
+ let redirect_url = "";
137
+ //是否需要设置返回地址
138
+ if (store.state.configProject.platform === "mp.weixin")
139
+ redirect_url = this["$xdUniHelper"].parseURL().source;
140
+ if (store.state.configProject.platform === "h5")
141
+ redirect_url = this.$route.fullPath;
142
+ this.$xdUniHelper.navigateTo({
143
+ url: `${this.changeCompanyPath}?redirect_url=${Base64.encodeURI(redirect_url)}`,
144
+ });
145
+ },
146
+ onJfbScroll(options) {
147
+ console.log("event.onJfbScroll", options);
148
+ },
149
+ onJfbReachBottom(options) {
150
+ console.log("event.onJfbReachBottom", options);
151
+ },
152
+ onJfbShow(options) {
153
+ console.log("event.onJfbShow", options);
154
+ },
155
+ onJfbHide(options) {
156
+ console.log("event.onJfbHide", options);
157
+ },
158
+ onJfbBack(options) {
159
+ console.log("event.onJfbBack", options);
160
+ },
161
+ onJfbUpdate(...data) {
162
+ console.log("event.onJfbUpdate", data);
163
+ },
164
+ onJfbCustomEvent(options) {
165
+ console.log("event.onJfbReachBottom", options);
166
+ },
167
+ },
168
+ };
169
+ </script>
170
+
171
+ <style scoped lang="less">
172
+ @import "./JfbBaseChangeCompanyLess.less";
173
+
174
+ .jfb-base-change-company {
175
+ &__body {
176
+ &-wrap {
177
+ display: flex;
178
+ justify-content: space-between;
179
+ align-items: center;
180
+ &-left {
181
+ display: flex;
182
+ align-items: center;
183
+ flex: 1;
184
+ &-name {
185
+ margin-left: 16rpx;
186
+ font-size: 28rpx;
187
+ text-overflow: -o-ellipsis-lastline;
188
+ overflow: hidden; //溢出内容隐藏
189
+ text-overflow: ellipsis; //文本溢出部分用省略号表示
190
+ display: -webkit-box; //特别显示模式
191
+ -webkit-line-clamp: 1; //行数
192
+ line-clamp: 2;
193
+ -webkit-box-orient: vertical; //盒子中内容竖直排列
194
+ width: 80%;
195
+ word-break: break-all;
196
+ }
197
+ }
198
+ }
199
+ }
200
+ }
201
+ </style>
@@ -0,0 +1,79 @@
1
+ /**
2
+ * @desc 获取绝对路径完整地址
3
+ * @param @path
4
+ **/
5
+ //例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
6
+ @basePath: 'business/';
7
+ @doMain: '//sandbox-img.jufubao.cn/';
8
+
9
+ .getBusinessImageUrl(@path, @size: 'size8') {
10
+ @url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
11
+ background-image: url(@url);
12
+ }
13
+
14
+ //start
15
+ .jfb-base-change-company {
16
+ box-sizing: border-box;
17
+
18
+ &__body{
19
+ position: relative;
20
+ overflow: hidden;
21
+ z-index: 2
22
+ }
23
+
24
+ &.editx,&.editx:hover {
25
+ position: relative;
26
+ min-height: unit(100, rpx);
27
+ z-index: 3;
28
+ &::after {
29
+ border: 2rpx dashed blue;
30
+ content: " ";
31
+ position: absolute;
32
+ top:0;
33
+ left:0;
34
+ bottom:0;
35
+ right:0;
36
+ z-index: 4;
37
+ cursor: pointer;
38
+ }
39
+
40
+ }
41
+
42
+
43
+ &__edit {
44
+ cursor: pointer;
45
+ position: absolute;
46
+ right: unit(0, rpx);
47
+ top: unit(-52, rpx);
48
+ height: unit(50, rpx);
49
+ line-height: unit(50, rpx);
50
+ display: flex;
51
+ justify-content: center;
52
+ align-items: center;
53
+ background: rgba(0, 0, 0, .6);
54
+ border-radius: unit(10, rpx);
55
+ box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
+ color: #fff;
57
+ font-size: unit(22, rpx);
58
+
59
+ &-icon{
60
+ padding: 0 unit(20, rpx);
61
+ }
62
+
63
+ &.editx {
64
+ box-sizing: border-box;
65
+
66
+ }
67
+ }
68
+ }
69
+ //end
70
+
71
+
72
+ /**notPreview**/
73
+ .jfb-base-change-company {
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
78
+ }
79
+ /**endNotPreview**/
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+
4
+ //@AttrImport
5
+ import Attr from "./Attr";
6
+ //@EndAttrImport
7
+
8
+
9
+ export default {
10
+ data() {
11
+ return {
12
+ //#ifdef H5
13
+
14
+ //@AttrData
15
+ Attr:{}, //对外开发编辑属性
16
+ //@EndAttrData
17
+
18
+ // #endif
19
+ cssRoot: 'jfb-base-change-company'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+
5
+ getChangeCompanyItem: { "company_name": "公司体验平台", "request_id": "e3507345b2d924d5" },
6
+
7
+ }
@@ -0,0 +1,24 @@
1
+ 'use strict';
2
+ import {
3
+ dataVal,
4
+ } from "@/utils/AttrTools";
5
+
6
+ export default (data, gValue, gColor, oldData) => {
7
+ return [
8
+ {
9
+ label: '切换企业',
10
+ ele: 'xd-select-pages-path',
11
+ labelInline: true,
12
+ valueKey: 'changeCompanyPath',
13
+ placeholder: '请选择切换企业跳转地址',
14
+ value: dataVal({ data, key: 'changeCompanyPath', dValue: null, gValue }),
15
+ groupKey: 'advanced',
16
+ className: 'input100',
17
+ setting: {
18
+ mode: 'new',
19
+ router: XdBus.getParentApi('getPagesTree'),
20
+ },
21
+ inline: false,
22
+ },
23
+ ]
24
+ }
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+ import {
3
+ dataVal,
4
+ } from "@/utils/AttrTools";
5
+
6
+ export default (data, gValue, gColor, oldData) => {
7
+ return [
8
+ {
9
+ ele: 'title',
10
+ label: '基础',
11
+ size: 'small',
12
+ groupKey: 'content',
13
+ },
14
+ {
15
+ label: '企业展示位置',
16
+ ele: 'xd-radio',
17
+ groupKey: 'content',
18
+ valueKey: 'companyPosition',
19
+ value: dataVal({ data, key: 'companyPosition', dValue: 'left' }),
20
+ labelInline: true,
21
+ list: [
22
+ { label: '居左', value: 'left' },
23
+ { label: '居中', value: 'center' },
24
+ ]
25
+ },
26
+ ]
27
+ }
@@ -0,0 +1,127 @@
1
+ 'use strict';
2
+ import {
3
+ dataVal,
4
+ statusDataVal,
5
+ statusShow
6
+ } from "@/utils/AttrTools";
7
+
8
+ export default (data, gValue, gColor, oldData) => {
9
+ return [
10
+ {
11
+ ele: 'title',
12
+ label: '内容区',
13
+ size: 'small',
14
+ groupKey: 'style',
15
+ },
16
+ {
17
+ label: '内边距',
18
+ ele: 'xd-radio',
19
+ groupKey: 'style',
20
+ valueKey: 'contentPaddingStatus',
21
+ value: statusDataVal({ data, key: 'contentPaddingStatus', fields: ['contentPadding'], gValue }),
22
+ labelInline: true,
23
+ list: [
24
+ { label: '默认', value: 'D' },
25
+ { label: '自定义', value: 'C' },
26
+ ]
27
+ },
28
+ { ele: 'group_start' },
29
+ {
30
+ label: '',
31
+ groupKey: 'style',
32
+ ele: 'xd-margin-padding',
33
+ valueKey: 'contentPadding',
34
+ value: dataVal({
35
+ data,
36
+ key: 'contentPadding',
37
+ dValue: {top:24,bottom:24,left:48,right:48},
38
+ gValue,
39
+ isPM: true,
40
+ }),
41
+ setting: {
42
+ type: 'padding',
43
+ bottom: false,
44
+ top: false,
45
+ },
46
+ placeholder: '请填充设置',
47
+ hidden: !statusShow({ data, key: 'contentPaddingStatus', fields: ['contentPadding'], gValue }),
48
+ },
49
+ { ele: 'group_end' },
50
+ {
51
+ ele: 'title',
52
+ label: '企业样式',
53
+ size: 'small',
54
+ groupKey: 'style',
55
+ },
56
+ {
57
+ label: '背景',
58
+ ele: 'xd-radio',
59
+ groupKey: 'style',
60
+ valueKey: 'backgroundStyleStatus',
61
+ value: statusDataVal({ data, key: 'backgroundStyleStatus', fields: ['backgroundColor'], gValue }),
62
+ labelInline: true,
63
+ list: [
64
+ { label: '默认', value: 'D' },
65
+ { label: '自定义', value: 'C' },
66
+ ]
67
+ },
68
+ { ele: 'group_start' },
69
+ {
70
+ label: '背景颜色',
71
+ ele: 'xd-color',
72
+ labelInline: true,
73
+ valueKey: 'backgroundColor',
74
+ value: dataVal({ data, key: 'backgroundColor', dValue: '', gValue }),
75
+ hidden: !statusShow({ data, key: 'backgroundStyleStatus', fields: ['backgroundColor'], gValue }),
76
+ placeholder: '请选择背景颜色',
77
+ className: 'input80',
78
+ groupKey: 'style',
79
+ setting: {
80
+ showAlpha: true
81
+ },
82
+ },
83
+ { ele: 'group_end' },
84
+ {
85
+ label: '文字颜色',
86
+ ele: 'xd-radio',
87
+ groupKey: 'style',
88
+ valueKey: 'fontStyleStatus',
89
+ value: statusDataVal({ data, key: 'fontStyleStatus', fields: ['fontColor'], gValue }),
90
+ labelInline: true,
91
+ list: [
92
+ { label: '默认', value: 'D' },
93
+ { label: '自定义', value: 'C' },
94
+ ]
95
+ },
96
+ { ele: 'group_start' },
97
+ {
98
+ label: '',
99
+ ele: 'xd-text-and-bgc',
100
+ groupKey: 'style',
101
+ valueKey: 'fontStyle',
102
+ value: dataVal({ data, key: 'fontStyle', dValue: {}, gValue }),
103
+ hidden: !statusShow({ data, key: 'fontStyleStatus', fields: ['fontStyle'], gValue }),
104
+ setting: {
105
+ fontSize: false,
106
+ weight: false,
107
+ bgColor: false,
108
+ selected: false,
109
+ default: {
110
+ color: '#333',
111
+ },
112
+ isBorder: false,
113
+ },
114
+ handleCustom({ action, data }) {
115
+ XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_font_size' })
116
+ .then(res => {
117
+ data.cb(res.list)
118
+ })
119
+ .catch(error => {
120
+ console.error(error);
121
+ data.cb([])
122
+ });
123
+ },
124
+ },
125
+ { ele: 'group_end' },
126
+ ]
127
+ }
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+ /**
3
+ * @description 接口配置,
4
+ * 在设置方法名字当时候,别忘记加上【模块名字】:Chose
5
+ * @type {*[]}
6
+ */
7
+ module.exports = [
8
+ {
9
+ //设置方法名字当别忘记加上【模块名字】:Chose
10
+ mapFnName: 'getChoseCompanyList',
11
+ title: '获取公司列表',
12
+ path: '/saas/v1/company-by-user-id/items',
13
+ isRule: false,
14
+ params: {
15
+ },
16
+ isConsole: true,
17
+ disabled: true,
18
+ },
19
+ {
20
+ //设置方法名字当别忘记加上【模块名字】:Chose
21
+ mapFnName: 'switchChoseCompany',
22
+ title: '选择公司列表',
23
+ path: '/passport/v1/user/switch-customer',
24
+ isRule: false,
25
+ data: {
26
+ customer_id: ['用户选择的客户ID', 'String', '必选'],
27
+ is_need_register_saas_user: ['是否需要同步到SAAS', 'Boolean', '必选'],
28
+ company_source_from: ['公司来源', 'String', '必选'],
29
+ },
30
+ isConsole: true,
31
+ disabled: true,
32
+ }
33
+ ];
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+ import Style from './cusAttr/style'
3
+ import Advanced from './cusAttr/advanced'
4
+ import Content from './cusAttr/content'
5
+ /**
6
+ * @description 当表单组件中有联动操作时候,使用方法进行返回
7
+ */
8
+ export default {
9
+ style: [],
10
+ content: (data, gValue, gColor, oldData) => {
11
+ return [
12
+ ...Style(data, gValue, gColor, oldData),
13
+ ...Advanced(data, gValue, gColor, oldData),
14
+ ...Content(data, gValue, gColor, oldData),
15
+ ].filter(i => i)
16
+ },
17
+ advanced: [],
18
+ };