jufubao-base 1.0.279-beta101 → 1.0.279-beta102

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.
@@ -7,52 +7,27 @@
7
7
  module.exports = [
8
8
  {
9
9
  //设置方法名字当别忘记加上【模块名字】:Chose
10
- mapFnName: 'getChoseByIdFilmSquate',
11
- title: '获取电影广场列表',
12
- path: '/api/account/film/list-film-square',
10
+ mapFnName: 'getChoseCompanyList',
11
+ title: '获取公司列表',
12
+ path: '/saas/v1/company-by-user-id/items',
13
13
  isRule: false,
14
14
  params: {
15
- last_key: ['当前页', 'Number', '必选'],
16
- page_size: ['每页数量', 'Number', '必选'],
17
15
  },
18
16
  isConsole: true,
19
17
  disabled: true,
20
18
  },
21
19
  {
22
20
  //设置方法名字当别忘记加上【模块名字】:Chose
23
- mapFnName: 'updateChoseFilmPaiqiDate',
24
- title: '更新排期',
25
- path: '/api/account/film/paiqi-date',
21
+ mapFnName: 'switchChoseCompany',
22
+ title: '选择公司列表',
23
+ path: '/passport/v1/user/switch-customer',
26
24
  isRule: false,
27
- params: {
28
- film_id: ['电影id', 'Number', '必选'],
29
- cinema_id: ['影院id', 'Number', '必选'],
30
- },
31
- isConsole: true,
32
- disabled: true,
33
- },
34
- {
35
- //设置方法名字当别忘记加上【模块名字】:Chose
36
- mapFnName: 'removeChoseFilmAddress',
37
- title: '删除我的配送地址',
38
- path: '/api/account/film/paiqi-date',
39
- isRule: false,
40
- params: {
41
- film_id: ['电影id', 'Number', '必选'],
25
+ data: {
26
+ customer_id: ['用户选择的客户ID', 'String', '必选'],
27
+ is_need_register_saas_user: ['是否需要同步到SAAS', 'Boolean', '必选'],
28
+ company_source_from: ['公司来源', 'String', '必选'],
42
29
  },
43
30
  isConsole: true,
44
31
  disabled: true,
45
- },
46
- {
47
- //设置方法名字当别忘记加上【模块名字】:Chose
48
- mapFnName: 'addChoseFilmcart',
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
- },
32
+ }
58
33
  ];
@@ -1,48 +1,18 @@
1
1
  'use strict';
2
-
2
+ import Style from './cusAttr/style'
3
+ import Advanced from './cusAttr/advanced'
4
+ import Content from './cusAttr/content'
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
+ ...Style(data, gValue, gColor, oldData),
13
+ ...Advanced(data, gValue, gColor, oldData),
14
+ ...Content(data, gValue, gColor, oldData),
15
+ ].filter(i => i)
46
16
  },
47
17
  advanced: [],
48
18
  };
@@ -2,110 +2,343 @@
2
2
  <view
3
3
  class="jfb-base-chose-company"
4
4
  @click="handleEditxSelect"
5
- :class="{ editx : isEditx && active }"
5
+ :class="{ editx: isEditx && active }"
6
6
  >
7
7
  <!--#ifdef H5-->
8
8
  <view
9
9
  class="jfb-base-chose-company__edit"
10
- :class="{ editx : isEditx && active }"
10
+ :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-base-chose-company__edit-icon" @click="delEdit">删除</view>
13
+ <view class="jfb-base-chose-company__edit-icon" @click="delEdit"
14
+ >删除</view
15
+ >
14
16
  </view>
15
17
  <!-- #endif -->
16
- <view class="jfb-base-chose-company__body">
17
- <view>测试插件( {{containerId}} )</view>
18
+ <view
19
+ class="jfb-base-chose-company__body"
20
+ :style="{ minHeight: layoutInfo.bodyMinHeightRpx + 'rpx' }"
21
+ >
22
+ <view :style="[contentPaddingCompStyle]">
23
+ <view class="jfb-base-chose-company__body-title">企业信息(1家)</view>
24
+ <view class="jfb-base-chose-company__body-notice">{{ title }}</view>
25
+ <view :style="{ '--main-color': mainColor }">
26
+ <view
27
+ v-for="(item, index) in companyList"
28
+ :key="index"
29
+ @click="handleChoseCompany(item)"
30
+ :style="[listPaddingCompStyle]"
31
+ :class="[
32
+ 'jfb-base-chose-company__body-company',
33
+ item.is_select ? 'active' : '',
34
+ ]"
35
+ >
36
+ <view
37
+ v-if="item.is_select"
38
+ class="jfb-base-chose-company__body-company-active"
39
+ :style="{
40
+ background: mainColor,
41
+ borderRadius: `0 ${listRadius}rpx 0 30rpx`,
42
+ }"
43
+ >
44
+ <XdFontIcon
45
+ size="20"
46
+ icon="iconduigou-xian"
47
+ color="#fff"
48
+ ></XdFontIcon>
49
+ </view>
50
+ {{ item.company_name }}
51
+ </view></view
52
+ >
53
+ </view>
54
+ <view :style="[addCoMpStyle]" class="jfb-base-chose-company__body-add"
55
+ >{{ addTitle
56
+ }}<view @click="handleToAdd" style="color: red"
57
+ >去添加<XdFontIcon
58
+ size="28"
59
+ icon="iconxiangyou_xian"
60
+ ></XdFontIcon></view
61
+ ></view>
18
62
  </view>
19
63
  </view>
20
64
  </template>
21
65
 
22
66
  <script>
23
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
24
- import { jfbRootExec } from "@/utils/xd.event";
25
- import JfbBaseChoseCompanyMixin from "./JfbBaseChoseCompanyMixin";
26
- import { getContainerPropsValue } from "@/utils/xd.base";
27
- import componentsMixins from "@/mixins/componentsMixins";
28
- import extsMixins from "@/mixins/extsMixins";
29
- export default {
30
- name: "JfbBaseChoseCompany",
31
- components: {
32
- XdFontIcon
67
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
68
+ import { jfbRootExec } from "@/utils/xd.event";
69
+ import JfbBaseChoseCompanyMixin from "./JfbBaseChoseCompanyMixin";
70
+ import { getContainerPropsValue, gCPVal } from "@/utils/xd.base";
71
+ import componentsMixins from "@/mixins/componentsMixins";
72
+ import extsMixins from "@/mixins/extsMixins";
73
+ import { mapState } from "vuex";
74
+ export default {
75
+ name: "JfbBaseChoseCompany",
76
+ components: {
77
+ XdFontIcon,
78
+ },
79
+ mixins: [componentsMixins, extsMixins, JfbBaseChoseCompanyMixin],
80
+ data() {
81
+ return {
82
+ title: "",
83
+ addTitle: "",
84
+ contentPadding: {},
85
+ listPadding: {},
86
+ listRadius: "",
87
+ listSpacing: "",
88
+ listBorder: 0,
89
+ listShadow: "0 0 0 rgba(0,0,0,0)",
90
+ listFontStyle: {},
91
+ addBackground: "",
92
+ addFontStyle: {},
93
+ addCompanyPath: "",
94
+ companyList: [],
95
+ redirect_url: "",
96
+ };
97
+ },
98
+ watch: {
99
+ container(value, oldValue) {
100
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
101
+ if (this.$configProject["isPreview"]) this.init(value);
102
+ },
103
+ },
104
+ computed: {
105
+ ...mapState(["brandInfo", "jfbAuthorize"]),
106
+ contentPaddingCompStyle() {
107
+ return {
108
+ padding: this.getMarginAndPadding(this.contentPadding, 0),
109
+ };
33
110
  },
34
- mixins: [
35
- componentsMixins, extsMixins, JfbBaseChoseCompanyMixin
36
- ],
37
- data() {
111
+ listPaddingCompStyle() {
38
112
  return {
113
+ padding: this.getMarginAndPadding(this.listPadding, 0),
114
+ marginTop: this.listSpacing + "rpx",
115
+ borderRadius: this.listRadius + "rpx",
116
+ border: this.listBorder,
117
+ boxShadow: this.listShadow,
118
+ color: this.listFontStyle.color,
119
+ };
120
+ },
121
+ addCoMpStyle() {
122
+ return {
123
+ background: this.addBackground,
124
+ color: this.addFontStyle.color,
125
+ };
126
+ },
127
+ },
128
+ created() {
129
+ this.init(this.container);
39
130
 
40
- //todo
131
+ //todo
132
+ },
133
+ methods: {
134
+ onJfbLoad(options) {
135
+ if (options.redirect_url) {
136
+ this.redirect_url = Base64.decode(options.redirect_url);
41
137
  }
138
+ jfbRootExec("getChoseCompanyList", {
139
+ vm: this,
140
+ data: {},
141
+ }).then((res) => {
142
+ console.log(res, "resgetChoseCompanyList");
143
+ this.companyList = res.list;
144
+ });
42
145
  },
43
- watch: {
44
- container(value, oldValue) {
45
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
46
- if (this.$configProject['isPreview']) this.init(value)
47
- },
146
+ /**
147
+ * @description 监听事件变化
148
+ * @param container {object} 业务组件对象自己
149
+ */
150
+ init(container) {
151
+ //content
152
+ this.title = gCPVal(
153
+ container,
154
+ "title",
155
+ "切换企业将进入对应企业搭建的平台,频道、商品、品牌等可能存在差异",
156
+ {
157
+ sKey: "titleStatus",
158
+ fields: ["title"],
159
+ }
160
+ );
161
+ this.addTitle = gCPVal(container, "addTitle", "无此企业?", {
162
+ sKey: "addTitleStatus",
163
+ fields: ["addTitle"],
164
+ });
165
+ //style
166
+ this.contentPadding = gCPVal(
167
+ container,
168
+ "contentPadding",
169
+ { top: 36, bottom: 0, left: 20, right: 20 },
170
+ {
171
+ sKey: "contentPaddingStatus",
172
+ isPMR: true,
173
+ fields: ["contentPadding"],
174
+ }
175
+ );
176
+ this.listPadding = gCPVal(
177
+ container,
178
+ "listPadding",
179
+ { top: 40, bottom: 40, left: 32, right: 32 },
180
+ {
181
+ sKey: "listPaddingStatus",
182
+ isPMR: true,
183
+ fields: ["listPadding"],
184
+ }
185
+ );
186
+ this.listSpacing = gCPVal(container, "listSpacing", "24", {
187
+ sKey: "listSpacingStatus",
188
+ fields: ["listSpacing"],
189
+ });
190
+ this.listRadius =
191
+ gCPVal(container, "listRadius", [8], {
192
+ sKey: "listRadiusStatus",
193
+ fields: ["listRadius"],
194
+ }) || 0;
195
+ this.listBorder = gCPVal(
196
+ container,
197
+ "listBorder",
198
+ [{ color: "#ccc", width: 2, style: "solid" }],
199
+ {
200
+ isBorder: true,
201
+ bsOld: ["is_border", "is_border_w", "is_border_c"],
202
+ }
203
+ );
204
+ this.listShadow = gCPVal(
205
+ container,
206
+ "listShadow",
207
+ [{ width: 0, color: "rgba(0,0,0,0)" }, "none"],
208
+ { isShadow: true, bsOld: ["is_shadow", "is_shadow_w", "is_shadow_bg"] }
209
+ );
210
+ this.listFontStyle = gCPVal(
211
+ container,
212
+ "listFontStyle",
213
+ [
214
+ {
215
+ color: "#333",
216
+ },
217
+ ],
218
+ {
219
+ sKey: "listFontStyleStatus",
220
+ fields: ["listFontStyle"],
221
+ isMerge: true,
222
+ }
223
+ );
224
+ this.addBackground = gCPVal(container, "addBackground", "#F8F8F8", {
225
+ sKey: "addBackgroundStatus",
226
+ fields: ["addBackground"],
227
+ });
228
+ this.addFontStyle = gCPVal(
229
+ container,
230
+ "addFontStyle",
231
+ [
232
+ {
233
+ color: "#999999",
234
+ },
235
+ ],
236
+ { sKey: "addFontStyleStatus", fields: ["addFontStyle"], isMerge: true }
237
+ );
238
+ //advanced
239
+ this.addCompanyPath = getContainerPropsValue(
240
+ container,
241
+ "content.addCompanyPath",
242
+ { value: "" }
243
+ ).value;
48
244
  },
49
- created() {
50
- this.init(this.container);
245
+ handleChoseCompany(item) {
246
+ jfbRootExec("switchChoseCompany", {
247
+ vm: this,
248
+ data: {
249
+ customer_id: item.company_id,
250
+ is_need_register_saas_user: item.is_need_register_saas_user,
251
+ company_source_from: item.company_source_from,
252
+ },
253
+ }).then((res) => {
254
+ //#ifdef MP-WEIXIN
255
+ if (this.jfbAuthorize !== null) {
256
+ this.jfbAuthorize.setAllToken(res);
257
+ }
258
+ //#endif
51
259
 
52
- //todo
260
+ if (this.redirect_url) {
261
+ this.$xdUniHelper.redirectTo({
262
+ url: this.redirect_url,
263
+ });
264
+ } else {
265
+ this.$xdUniHelper.redirectTo({
266
+ url: this.settings.index,
267
+ });
268
+ }
269
+ });
53
270
  },
54
- methods: {
55
- onJfbLoad(options) {
56
-
57
- // jfbRootExec('baiduUserLogin', {
58
-
59
- // vm: this,// data: {
60
-
61
- // account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
62
-
63
- // }
64
-
65
- // }).then().catch()
66
- },
67
- /**
68
- * @description 监听事件变化
69
- * @param container {object} 业务组件对象自己
70
- */
71
- init(container) {
72
-
73
- //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
74
-
75
- //this.height = getContainerPropsValue(container, 'content.height', 10);
76
- },
77
- onJfbScroll(options) {
78
- console.log('event.onJfbScroll', options)
79
- },
80
- onJfbReachBottom(options) {
81
- console.log('event.onJfbReachBottom', options)
82
- },
83
- onJfbShow(options) {
84
- console.log('event.onJfbShow', options)
85
- },
86
- onJfbHide(options) {
87
- console.log('event.onJfbHide', options)
88
- },
89
- onJfbBack(options) {
90
- console.log('event.onJfbBack', options)
91
- },
92
- onJfbUpdate(...data) {
93
- console.log('event.onJfbUpdate', data)
94
- },
95
- onJfbCustomEvent(options) {
96
- console.log('event.onJfbReachBottom', options)
97
- },
98
- }
99
- }
100
-
271
+ handleToAdd() {
272
+ this.$xdUniHelper.navigateTo({
273
+ url: this.addCompanyPath,
274
+ });
275
+ },
276
+ onJfbScroll(options) {
277
+ console.log("event.onJfbScroll", options);
278
+ },
279
+ onJfbReachBottom(options) {
280
+ console.log("event.onJfbReachBottom", options);
281
+ },
282
+ onJfbShow(options) {
283
+ console.log("event.onJfbShow", options);
284
+ },
285
+ onJfbHide(options) {
286
+ console.log("event.onJfbHide", options);
287
+ },
288
+ onJfbBack(options) {
289
+ console.log("event.onJfbBack", options);
290
+ },
291
+ onJfbUpdate(...data) {
292
+ console.log("event.onJfbUpdate", data);
293
+ },
294
+ onJfbCustomEvent(options) {
295
+ console.log("event.onJfbReachBottom", options);
296
+ },
297
+ },
298
+ };
101
299
  </script>
102
300
 
103
301
  <style scoped lang="less">
104
- @import "./JfbBaseChoseCompanyLess.less";
105
-
106
- .jfb-base-chose-company {
107
- &__body{
302
+ @import "./JfbBaseChoseCompanyLess.less";
108
303
 
304
+ .jfb-base-chose-company {
305
+ &__body {
306
+ color: #333;
307
+ &-title {
308
+ font-weight: 500;
309
+ font-size: 36rpx;
310
+ }
311
+ &-notice {
312
+ color: #666666;
313
+ margin-top: 8rpx;
314
+ font-size: 28rpx;
315
+ }
316
+ &-company {
317
+ font-size: 32rpx;
318
+ font-weight: 500;
319
+ position: relative;
320
+ &-active {
321
+ position: absolute;
322
+ top: 0;
323
+ right: 0;
324
+ padding: 18rpx 16rpx;
325
+ }
326
+ }
327
+ &-add {
328
+ display: flex;
329
+ justify-content: center;
330
+ align-items: center;
331
+ padding: 24rpx 0;
332
+ margin-top: 360rpx;
333
+ font-size: 28rpx;
334
+ & > view {
335
+ display: flex;
336
+ align-items: center;
337
+ }
338
+ }
339
+ .active {
340
+ border-color: var(--main-color) !important;
109
341
  }
110
342
  }
343
+ }
111
344
  </style>
@@ -2,12 +2,8 @@
2
2
 
3
3
  module.exports = {
4
4
 
5
- getChoseByIdFilmSquate:{},
5
+ getChoseCompanyList: { "list": [{ "company_id": "101683", "company_name": "广州向阳中学(测试)", "company_logo": "", "company_source_from": "S", "is_need_register_saas_user": false, "is_select": false }], "request_id": "748f6396ea2a1cac" },
6
6
 
7
- updateChoseFilmPaiqiDate:{},
8
-
9
- removeChoseFilmAddress:{},
10
-
11
- addChoseFilmcart:{},
7
+ switchChoseCompany: { "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIxNjEtMTc5MjhjYzM3Nzg4YmUwMiIsImlhdCI6MTc1Njc3NzEyOC4yMDQ4MDEsImV4cCI6MTc1Njc4NDMyOC4yMDQ4MDEsInVzZXJfaWQiOiI1MDAwMDM0IiwidXNlcl9zaWduIjoiMjYxN2Q2N2ExNDM5OTRlOWJjMjU1ODViMmI0OGFhMzciLCJ1c2VyX3NpZ25fZXhwaXJlIjoiMTc1Njc4NDM4OCIsImNsaWVudF9pcCI6IjEwMS43Mi4xODcuNzQiLCJwbGF0Zm9ybSI6InNhYXM6MTAxNjgzOjoiLCJjdXN0b21lcl9pZCI6IjEwMTY4MyJ9.jQVEYQZ9x6GiRMY0Jg0V6grg4x40UDQAd9-1VkGB9Eo", "csrf_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIxNjEtMTc5MjhjYzM3Nzg4YmUwMiIsImlhdCI6MTc1Njc3NzEyOC4yMDQ5OSwiZXhwIjoxNzU2Nzg0MzI4LjIwNDk5LCJjc3JmX3VzZXJfaWQiOjUwMDAwMzQsImNsaWVudF9pcCI6IjEwMS43Mi4xODcuNzQiLCJjdXN0b21lcl9pZCI6IjEwMTY4MyJ9.rJtEvKouJpDeJDmufoc5edn63Bmfx8ZIPXTmi09e6K0", "refresh_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIxNjEtMTc5MjhjYzM3Nzg4YmUwMiIsImlhdCI6MTc1Njc3NzEyOC4yMDQ5NTgsImV4cCI6MTc1ODA3MzEyOC4yMDQ5NTgsInJlZnJlc2hfdXNlcl9pZCI6NTAwMDAzNCwiY2xpZW50X2lwIjoiMTAxLjcyLjE4Ny43NCIsInBsYXRmb3JtIjoic2FhczoxMDE2ODM6OiIsImN1c3RvbWVyX2lkIjoiMTAxNjgzIn0.FkSrW7on6AnhgUMGF3rGwtpbe59OqOu-3jk2k0YC6_o", "access_token_expire_in": "7200", "csrf_token_expire_in": "7200", "refresh_token_expire_in": "1296000", "user_id": 5000034, "platform": "saas:101683::", "phone_number": "17703167945", "request_id": "39be2208ca0bba15" },
12
8
 
13
9
  }
@@ -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: 'addCompanyPath',
13
+ placeholder: '请选择切换企业跳转地址',
14
+ value: dataVal({ data, key: 'addCompanyPath', 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,69 @@
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: 'content',
15
+ },
16
+ {
17
+ label: '选择企业',
18
+ ele: 'xd-radio',
19
+ groupKey: 'content',
20
+ valueKey: 'titleStatus',
21
+ value: statusDataVal({ data, key: 'titleStatus', fields: ['title'], gValue }),
22
+ labelInline: true,
23
+ list: [
24
+ { label: '默认', value: 'D' },
25
+ { label: '自定义', value: 'C' },
26
+ ]
27
+ },
28
+ { ele: 'group_start' },
29
+ {
30
+ label: '',
31
+ ele: 'el-input',
32
+ type: 'text',
33
+ valueKey: 'title',
34
+ labelInline: true,
35
+ value: dataVal({ data, key: 'title', dValue: '', gValue }),
36
+ hidden: !statusShow({ data, key: 'titleStatus', fields: ['title'], gValue }),
37
+ groupKey: 'content',
38
+ placeholder: '请输入提示内容',
39
+ className: 'input80',
40
+ },
41
+ { ele: 'group_end' },
42
+ {
43
+ label: '添加企业',
44
+ ele: 'xd-radio',
45
+ groupKey: 'content',
46
+ valueKey: 'addTitleStatus',
47
+ value: statusDataVal({ data, key: 'addTitleStatus', fields: ['addTitle'], gValue }),
48
+ labelInline: true,
49
+ list: [
50
+ { label: '默认', value: 'D' },
51
+ { label: '自定义', value: 'C' },
52
+ ]
53
+ },
54
+ { ele: 'group_start' },
55
+ {
56
+ label: '',
57
+ ele: 'el-input',
58
+ type: 'text',
59
+ valueKey: 'addTitle',
60
+ labelInline: true,
61
+ value: dataVal({ data, key: 'addTitle', dValue: '', gValue }),
62
+ hidden: !statusShow({ data, key: 'addTitleStatus', fields: ['addTitle'], gValue }),
63
+ groupKey: 'content',
64
+ placeholder: '请输入提示内容',
65
+ className: 'input80',
66
+ },
67
+ { ele: 'group_end' },
68
+ ]
69
+ }