jufubao-base 1.0.3 → 1.0.4
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/JfbBaseBaidu/JfbBaseBaidu.vue +1 -1
- package/src/components/JfbBaseBottom/Api.js +29 -0
- package/src/components/JfbBaseBottom/Attr.js +150 -0
- package/src/components/JfbBaseBottom/JfbBaseBottom.vue +1 -1
- package/src/components/JfbBaseNumber/JfbBaseNumber.vue +1 -1
- package/src/components/JfbBaseTop/Attr.js +150 -0
- package/src/components/JfbBaseTop/JfbBaseTop.vue +1 -1
- package/src/components/JfbBaseUnit/Attr.js +150 -0
- package/src/components/JfbBaseUnit/JfbBaseUnit.vue +1 -1
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<script>
|
|
25
25
|
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
26
26
|
import { jfbRootExec } from "@/utils/xd.event";
|
|
27
|
-
import JfbBaseBaiduMixin from "
|
|
27
|
+
import JfbBaseBaiduMixin from "./JfbBaseBaiduMixin";
|
|
28
28
|
export default {
|
|
29
29
|
name: "JfbBaseBaidu",
|
|
30
30
|
components: {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = [
|
|
4
|
+
{
|
|
5
|
+
mapFnName: 'getFilmSquate', //自定义方法名字
|
|
6
|
+
title: '获取电影广场列表',
|
|
7
|
+
path: '/api/account/film/list-film-square',
|
|
8
|
+
isRule: false,
|
|
9
|
+
prefix: 'online',
|
|
10
|
+
params: {
|
|
11
|
+
last_key: ['当前页', 'Number', '必选'],
|
|
12
|
+
page_size: ['每页数量', 'Number', '必选'],
|
|
13
|
+
},
|
|
14
|
+
isConsole: true,
|
|
15
|
+
disabled: true,
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
mapFnName: 'getPaiqiDate',
|
|
19
|
+
title: '获取电影排期时间',
|
|
20
|
+
path: '/api/account/film/paiqi-date',
|
|
21
|
+
isRule: false,
|
|
22
|
+
params: {
|
|
23
|
+
film_id: ['电影id', 'Number', '必选'],
|
|
24
|
+
cinema_id: ['影院id', 'Number', '必选'],
|
|
25
|
+
},
|
|
26
|
+
isConsole: true,
|
|
27
|
+
disabled: true,
|
|
28
|
+
},
|
|
29
|
+
];
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
export default [
|
|
4
|
+
//文本信息
|
|
5
|
+
{
|
|
6
|
+
label: '标题名称:', //label
|
|
7
|
+
ele: 'el-input', //package 名称
|
|
8
|
+
type: 'text',
|
|
9
|
+
valueKey: 'title', //form[valueKey]
|
|
10
|
+
value: '', //v-model
|
|
11
|
+
placeholder: '请输入标题名称',
|
|
12
|
+
classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
13
|
+
disabled: true,
|
|
14
|
+
rules: [
|
|
15
|
+
{
|
|
16
|
+
required: true,
|
|
17
|
+
type: 'url',
|
|
18
|
+
message: '请输入域名地址',
|
|
19
|
+
trigger: 'blur'
|
|
20
|
+
},
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
//远程获取内容选择
|
|
25
|
+
{
|
|
26
|
+
label: '跳转路径:', //label
|
|
27
|
+
ele: 'xd-select-list', //package 名称
|
|
28
|
+
valueKey: 'jumpToLink', //form[valueKey]
|
|
29
|
+
value: '', //v-model
|
|
30
|
+
placeholder: '请选择加盟商',
|
|
31
|
+
multiple: false, //多选
|
|
32
|
+
collapseTags: false,
|
|
33
|
+
remoteApi: '/api/editx/pages',
|
|
34
|
+
remote: true,
|
|
35
|
+
},
|
|
36
|
+
|
|
37
|
+
//本地固定内容选择
|
|
38
|
+
{
|
|
39
|
+
label: '选择内容:', //label
|
|
40
|
+
ele: 'xd-select-list', //package 名称
|
|
41
|
+
valueKey: 'select', //form[valueKey]
|
|
42
|
+
value: '', //v-model
|
|
43
|
+
placeholder: '请选择选择内容',
|
|
44
|
+
multiple: false, //多选
|
|
45
|
+
remote: false,
|
|
46
|
+
list: [
|
|
47
|
+
{"label": "订单详情", "value": '/main/order/order'},
|
|
48
|
+
{"label": "购物车详情", "value": '/main/cart/cart'},
|
|
49
|
+
{"label": "商品详情", "value": '/main/product/product'},
|
|
50
|
+
{"label": "商品分类", "value": '/main/producttype/producttype'},
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
//本地固定单选选择
|
|
55
|
+
{
|
|
56
|
+
label: '单选列表(固定):', //label
|
|
57
|
+
ele: 'xd-radio', //package 名称
|
|
58
|
+
valueKey: 'radio_status_list', //form[valueKey]
|
|
59
|
+
value: 6, //v-model
|
|
60
|
+
disabled: true,
|
|
61
|
+
rules: [
|
|
62
|
+
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
63
|
+
],
|
|
64
|
+
list: [
|
|
65
|
+
{"label": "万利达集团", "value": 4},
|
|
66
|
+
{"label": "中国联通", "value": 5},
|
|
67
|
+
{"label": "中国移动", "value": 6},
|
|
68
|
+
{"label": "味多美", "value": 7},
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
//远程固定单选选择
|
|
73
|
+
{
|
|
74
|
+
label: '单选列表(固定):', //label
|
|
75
|
+
ele: 'xd-radio', //package 名称
|
|
76
|
+
valueKey: 'radio_status_list', //form[valueKey]
|
|
77
|
+
value: 6, //v-model
|
|
78
|
+
disabled: false,
|
|
79
|
+
remoteApi: '/api/editx/pages',
|
|
80
|
+
remote: true,
|
|
81
|
+
rules: [
|
|
82
|
+
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
//本地固定多选选择
|
|
87
|
+
{
|
|
88
|
+
label: '多选列表(固定):', //label
|
|
89
|
+
ele: 'xd-check', //package 名称
|
|
90
|
+
valueKey: 'xd-check_list', //form[valueKey]
|
|
91
|
+
value: 6, //v-model
|
|
92
|
+
disabled: true,
|
|
93
|
+
rules: [
|
|
94
|
+
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
95
|
+
],
|
|
96
|
+
list: [
|
|
97
|
+
{"label": "万利达集团", "value": 4},
|
|
98
|
+
{"label": "中国联通", "value": 5},
|
|
99
|
+
{"label": "中国移动", "value": 6},
|
|
100
|
+
{"label": "味多美", "value": 7},
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
//远程多选选选择
|
|
105
|
+
{
|
|
106
|
+
label: '多选列表:', //label
|
|
107
|
+
ele: 'xd-check', //package 名称
|
|
108
|
+
valueKey: 'xd-check_remote-list', //form[valueKey]
|
|
109
|
+
value: 6, //v-model
|
|
110
|
+
disabled: false,
|
|
111
|
+
remoteApi: '/api/editx/pages',
|
|
112
|
+
remote: true,
|
|
113
|
+
rules: [
|
|
114
|
+
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
|
|
118
|
+
//状态(二选一)单选选择
|
|
119
|
+
{
|
|
120
|
+
label: '状态(二选一):', //label
|
|
121
|
+
ele: 'xd-radio-status', //package 名称
|
|
122
|
+
valueKey: 'radio_status', //form[valueKey]
|
|
123
|
+
value: 'Y', //v-model
|
|
124
|
+
isall: true,
|
|
125
|
+
disabled: true,
|
|
126
|
+
backValueType: '', //返回值类型 1=>返回(Y,N)2=> [true|false] 3=>[1,0] 4=>[1,2]
|
|
127
|
+
placeholder: '请选择',
|
|
128
|
+
list: 'status', //status=>状态 best=>推荐 associate=>关联 yes=>是否 open=> 是否开启 check=>审核
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
//文本信息
|
|
132
|
+
{
|
|
133
|
+
label: '标题名称:', //label
|
|
134
|
+
ele: 'el-input', //package 名称
|
|
135
|
+
type: 'text',
|
|
136
|
+
valueKey: 'title', //form[valueKey]
|
|
137
|
+
value: '', //v-model
|
|
138
|
+
placeholder: '请输入标题名称',
|
|
139
|
+
classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
140
|
+
disabled: true,
|
|
141
|
+
rules: [
|
|
142
|
+
{
|
|
143
|
+
required: true,
|
|
144
|
+
type: 'url',
|
|
145
|
+
message: '请输入域名地址',
|
|
146
|
+
trigger: 'blur'
|
|
147
|
+
},
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
]
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<script>
|
|
25
25
|
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
26
26
|
import { jfbRootExec } from "@/utils/xd.event";
|
|
27
|
-
import JfbBaseBottomMixin from "
|
|
27
|
+
import JfbBaseBottomMixin from "./JfbBaseBottomMixin";
|
|
28
28
|
export default {
|
|
29
29
|
name: "JfbBaseBottom",
|
|
30
30
|
components: {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<script>
|
|
25
25
|
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
26
26
|
import { jfbRootExec } from "@/utils/xd.event";
|
|
27
|
-
import JfbBaseNumberMixin from "
|
|
27
|
+
import JfbBaseNumberMixin from "./JfbBaseNumberMixin";
|
|
28
28
|
export default {
|
|
29
29
|
name: "JfbBaseNumber",
|
|
30
30
|
components: {
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
export default [
|
|
4
|
+
//文本信息
|
|
5
|
+
{
|
|
6
|
+
label: '标题名称:', //label
|
|
7
|
+
ele: 'el-input', //package 名称
|
|
8
|
+
type: 'text',
|
|
9
|
+
valueKey: 'title', //form[valueKey]
|
|
10
|
+
value: '', //v-model
|
|
11
|
+
placeholder: '请输入标题名称',
|
|
12
|
+
classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
13
|
+
disabled: true,
|
|
14
|
+
rules: [
|
|
15
|
+
{
|
|
16
|
+
required: true,
|
|
17
|
+
type: 'url',
|
|
18
|
+
message: '请输入域名地址',
|
|
19
|
+
trigger: 'blur'
|
|
20
|
+
},
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
//远程获取内容选择
|
|
25
|
+
{
|
|
26
|
+
label: '跳转路径:', //label
|
|
27
|
+
ele: 'xd-select-list', //package 名称
|
|
28
|
+
valueKey: 'jumpToLink', //form[valueKey]
|
|
29
|
+
value: '', //v-model
|
|
30
|
+
placeholder: '请选择加盟商',
|
|
31
|
+
multiple: false, //多选
|
|
32
|
+
collapseTags: false,
|
|
33
|
+
remoteApi: '/api/editx/pages',
|
|
34
|
+
remote: true,
|
|
35
|
+
},
|
|
36
|
+
|
|
37
|
+
//本地固定内容选择
|
|
38
|
+
{
|
|
39
|
+
label: '选择内容:', //label
|
|
40
|
+
ele: 'xd-select-list', //package 名称
|
|
41
|
+
valueKey: 'select', //form[valueKey]
|
|
42
|
+
value: '', //v-model
|
|
43
|
+
placeholder: '请选择选择内容',
|
|
44
|
+
multiple: false, //多选
|
|
45
|
+
remote: false,
|
|
46
|
+
list: [
|
|
47
|
+
{"label": "订单详情", "value": '/main/order/order'},
|
|
48
|
+
{"label": "购物车详情", "value": '/main/cart/cart'},
|
|
49
|
+
{"label": "商品详情", "value": '/main/product/product'},
|
|
50
|
+
{"label": "商品分类", "value": '/main/producttype/producttype'},
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
//本地固定单选选择
|
|
55
|
+
{
|
|
56
|
+
label: '单选列表(固定):', //label
|
|
57
|
+
ele: 'xd-radio', //package 名称
|
|
58
|
+
valueKey: 'radio_status_list', //form[valueKey]
|
|
59
|
+
value: 6, //v-model
|
|
60
|
+
disabled: true,
|
|
61
|
+
rules: [
|
|
62
|
+
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
63
|
+
],
|
|
64
|
+
list: [
|
|
65
|
+
{"label": "万利达集团", "value": 4},
|
|
66
|
+
{"label": "中国联通", "value": 5},
|
|
67
|
+
{"label": "中国移动", "value": 6},
|
|
68
|
+
{"label": "味多美", "value": 7},
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
//远程固定单选选择
|
|
73
|
+
{
|
|
74
|
+
label: '单选列表(固定):', //label
|
|
75
|
+
ele: 'xd-radio', //package 名称
|
|
76
|
+
valueKey: 'radio_status_list', //form[valueKey]
|
|
77
|
+
value: 6, //v-model
|
|
78
|
+
disabled: false,
|
|
79
|
+
remoteApi: '/api/editx/pages',
|
|
80
|
+
remote: true,
|
|
81
|
+
rules: [
|
|
82
|
+
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
//本地固定多选选择
|
|
87
|
+
{
|
|
88
|
+
label: '多选列表(固定):', //label
|
|
89
|
+
ele: 'xd-check', //package 名称
|
|
90
|
+
valueKey: 'xd-check_list', //form[valueKey]
|
|
91
|
+
value: 6, //v-model
|
|
92
|
+
disabled: true,
|
|
93
|
+
rules: [
|
|
94
|
+
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
95
|
+
],
|
|
96
|
+
list: [
|
|
97
|
+
{"label": "万利达集团", "value": 4},
|
|
98
|
+
{"label": "中国联通", "value": 5},
|
|
99
|
+
{"label": "中国移动", "value": 6},
|
|
100
|
+
{"label": "味多美", "value": 7},
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
//远程多选选选择
|
|
105
|
+
{
|
|
106
|
+
label: '多选列表:', //label
|
|
107
|
+
ele: 'xd-check', //package 名称
|
|
108
|
+
valueKey: 'xd-check_remote-list', //form[valueKey]
|
|
109
|
+
value: 6, //v-model
|
|
110
|
+
disabled: false,
|
|
111
|
+
remoteApi: '/api/editx/pages',
|
|
112
|
+
remote: true,
|
|
113
|
+
rules: [
|
|
114
|
+
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
|
|
118
|
+
//状态(二选一)单选选择
|
|
119
|
+
{
|
|
120
|
+
label: '状态(二选一):', //label
|
|
121
|
+
ele: 'xd-radio-status', //package 名称
|
|
122
|
+
valueKey: 'radio_status', //form[valueKey]
|
|
123
|
+
value: 'Y', //v-model
|
|
124
|
+
isall: true,
|
|
125
|
+
disabled: true,
|
|
126
|
+
backValueType: '', //返回值类型 1=>返回(Y,N)2=> [true|false] 3=>[1,0] 4=>[1,2]
|
|
127
|
+
placeholder: '请选择',
|
|
128
|
+
list: 'status', //status=>状态 best=>推荐 associate=>关联 yes=>是否 open=> 是否开启 check=>审核
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
//文本信息
|
|
132
|
+
{
|
|
133
|
+
label: '标题名称:', //label
|
|
134
|
+
ele: 'el-input', //package 名称
|
|
135
|
+
type: 'text',
|
|
136
|
+
valueKey: 'title', //form[valueKey]
|
|
137
|
+
value: '', //v-model
|
|
138
|
+
placeholder: '请输入标题名称',
|
|
139
|
+
classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
140
|
+
disabled: true,
|
|
141
|
+
rules: [
|
|
142
|
+
{
|
|
143
|
+
required: true,
|
|
144
|
+
type: 'url',
|
|
145
|
+
message: '请输入域名地址',
|
|
146
|
+
trigger: 'blur'
|
|
147
|
+
},
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
]
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<script>
|
|
25
25
|
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
26
26
|
import { jfbRootExec } from "@/utils/xd.event";
|
|
27
|
-
import JfbBaseTopMixin from "
|
|
27
|
+
import JfbBaseTopMixin from "./JfbBaseTopMixin";
|
|
28
28
|
export default {
|
|
29
29
|
name: "JfbBaseTop",
|
|
30
30
|
components: {
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
export default [
|
|
4
|
+
//文本信息
|
|
5
|
+
{
|
|
6
|
+
label: '标题名称:', //label
|
|
7
|
+
ele: 'el-input', //package 名称
|
|
8
|
+
type: 'text',
|
|
9
|
+
valueKey: 'title', //form[valueKey]
|
|
10
|
+
value: '', //v-model
|
|
11
|
+
placeholder: '请输入标题名称',
|
|
12
|
+
classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
13
|
+
disabled: true,
|
|
14
|
+
rules: [
|
|
15
|
+
{
|
|
16
|
+
required: true,
|
|
17
|
+
type: 'url',
|
|
18
|
+
message: '请输入域名地址',
|
|
19
|
+
trigger: 'blur'
|
|
20
|
+
},
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
//远程获取内容选择
|
|
25
|
+
{
|
|
26
|
+
label: '跳转路径:', //label
|
|
27
|
+
ele: 'xd-select-list', //package 名称
|
|
28
|
+
valueKey: 'jumpToLink', //form[valueKey]
|
|
29
|
+
value: '', //v-model
|
|
30
|
+
placeholder: '请选择加盟商',
|
|
31
|
+
multiple: false, //多选
|
|
32
|
+
collapseTags: false,
|
|
33
|
+
remoteApi: '/api/editx/pages',
|
|
34
|
+
remote: true,
|
|
35
|
+
},
|
|
36
|
+
|
|
37
|
+
//本地固定内容选择
|
|
38
|
+
{
|
|
39
|
+
label: '选择内容:', //label
|
|
40
|
+
ele: 'xd-select-list', //package 名称
|
|
41
|
+
valueKey: 'select', //form[valueKey]
|
|
42
|
+
value: '', //v-model
|
|
43
|
+
placeholder: '请选择选择内容',
|
|
44
|
+
multiple: false, //多选
|
|
45
|
+
remote: false,
|
|
46
|
+
list: [
|
|
47
|
+
{"label": "订单详情", "value": '/main/order/order'},
|
|
48
|
+
{"label": "购物车详情", "value": '/main/cart/cart'},
|
|
49
|
+
{"label": "商品详情", "value": '/main/product/product'},
|
|
50
|
+
{"label": "商品分类", "value": '/main/producttype/producttype'},
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
//本地固定单选选择
|
|
55
|
+
{
|
|
56
|
+
label: '单选列表(固定):', //label
|
|
57
|
+
ele: 'xd-radio', //package 名称
|
|
58
|
+
valueKey: 'radio_status_list', //form[valueKey]
|
|
59
|
+
value: 6, //v-model
|
|
60
|
+
disabled: true,
|
|
61
|
+
rules: [
|
|
62
|
+
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
63
|
+
],
|
|
64
|
+
list: [
|
|
65
|
+
{"label": "万利达集团", "value": 4},
|
|
66
|
+
{"label": "中国联通", "value": 5},
|
|
67
|
+
{"label": "中国移动", "value": 6},
|
|
68
|
+
{"label": "味多美", "value": 7},
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
//远程固定单选选择
|
|
73
|
+
{
|
|
74
|
+
label: '单选列表(固定):', //label
|
|
75
|
+
ele: 'xd-radio', //package 名称
|
|
76
|
+
valueKey: 'radio_status_list', //form[valueKey]
|
|
77
|
+
value: 6, //v-model
|
|
78
|
+
disabled: false,
|
|
79
|
+
remoteApi: '/api/editx/pages',
|
|
80
|
+
remote: true,
|
|
81
|
+
rules: [
|
|
82
|
+
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
//本地固定多选选择
|
|
87
|
+
{
|
|
88
|
+
label: '多选列表(固定):', //label
|
|
89
|
+
ele: 'xd-check', //package 名称
|
|
90
|
+
valueKey: 'xd-check_list', //form[valueKey]
|
|
91
|
+
value: 6, //v-model
|
|
92
|
+
disabled: true,
|
|
93
|
+
rules: [
|
|
94
|
+
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
95
|
+
],
|
|
96
|
+
list: [
|
|
97
|
+
{"label": "万利达集团", "value": 4},
|
|
98
|
+
{"label": "中国联通", "value": 5},
|
|
99
|
+
{"label": "中国移动", "value": 6},
|
|
100
|
+
{"label": "味多美", "value": 7},
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
//远程多选选选择
|
|
105
|
+
{
|
|
106
|
+
label: '多选列表:', //label
|
|
107
|
+
ele: 'xd-check', //package 名称
|
|
108
|
+
valueKey: 'xd-check_remote-list', //form[valueKey]
|
|
109
|
+
value: 6, //v-model
|
|
110
|
+
disabled: false,
|
|
111
|
+
remoteApi: '/api/editx/pages',
|
|
112
|
+
remote: true,
|
|
113
|
+
rules: [
|
|
114
|
+
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
|
|
118
|
+
//状态(二选一)单选选择
|
|
119
|
+
{
|
|
120
|
+
label: '状态(二选一):', //label
|
|
121
|
+
ele: 'xd-radio-status', //package 名称
|
|
122
|
+
valueKey: 'radio_status', //form[valueKey]
|
|
123
|
+
value: 'Y', //v-model
|
|
124
|
+
isall: true,
|
|
125
|
+
disabled: true,
|
|
126
|
+
backValueType: '', //返回值类型 1=>返回(Y,N)2=> [true|false] 3=>[1,0] 4=>[1,2]
|
|
127
|
+
placeholder: '请选择',
|
|
128
|
+
list: 'status', //status=>状态 best=>推荐 associate=>关联 yes=>是否 open=> 是否开启 check=>审核
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
//文本信息
|
|
132
|
+
{
|
|
133
|
+
label: '标题名称:', //label
|
|
134
|
+
ele: 'el-input', //package 名称
|
|
135
|
+
type: 'text',
|
|
136
|
+
valueKey: 'title', //form[valueKey]
|
|
137
|
+
value: '', //v-model
|
|
138
|
+
placeholder: '请输入标题名称',
|
|
139
|
+
classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
140
|
+
disabled: true,
|
|
141
|
+
rules: [
|
|
142
|
+
{
|
|
143
|
+
required: true,
|
|
144
|
+
type: 'url',
|
|
145
|
+
message: '请输入域名地址',
|
|
146
|
+
trigger: 'blur'
|
|
147
|
+
},
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
]
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<script>
|
|
25
25
|
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
26
26
|
import { jfbRootExec } from "@/utils/xd.event";
|
|
27
|
-
import JfbBaseUnitMixin from "
|
|
27
|
+
import JfbBaseUnitMixin from "./JfbBaseUnitMixin";
|
|
28
28
|
export default {
|
|
29
29
|
name: "JfbBaseUnit",
|
|
30
30
|
components: {
|