rklink-dev 1.0.2 → 1.0.3
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/dist/rklink-dev/index.html +55 -0
- package/dist/rklink-dev/static/component-form.js +500 -0
- package/dist/rklink-dev/static/component-layout.js +41 -0
- package/dist/rklink-dev/static/component-table.js +134 -0
- package/dist/rklink-dev/static/config-dev.js +27 -0
- package/dist/rklink-dev/static/config-prod.js +16 -0
- package/dist/rklink-dev/static/css/designer.css +1 -0
- package/dist/rklink-dev/static/css/designer.css.map +1 -0
- package/dist/rklink-dev/static/js/designer.js +10 -0
- package/dist/rklink-dev/static/js/designer.js.map +1 -0
- package/dist/rklink-dev/static/libs/base/css/app.css +1 -0
- package/dist/rklink-dev/static/libs/base/css/app.css.map +1 -0
- package/dist/rklink-dev/static/libs/base/font/font.css +7 -0
- package/dist/rklink-dev/static/libs/base/font//350/213/271/346/226/271/351/273/221/344/275/223-/345/207/206-/347/256/200.ttf +0 -0
- package/dist/rklink-dev/static/libs/base/images/logo.png +0 -0
- package/dist/rklink-dev/static/libs/base/images/logo2.png +0 -0
- package/dist/rklink-dev/static/libs/base/images/logo_title.png +0 -0
- package/dist/rklink-dev/static/libs/base/js/app.js +19 -0
- package/dist/rklink-dev/static/libs/base/js/app.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
let common = {
|
|
2
|
+
prop: "",
|
|
3
|
+
isAutoWidth: true,
|
|
4
|
+
width: "",
|
|
5
|
+
minWidth: "",
|
|
6
|
+
isShow: true,
|
|
7
|
+
href: {
|
|
8
|
+
path: "",
|
|
9
|
+
query: "",
|
|
10
|
+
callbackType: ""
|
|
11
|
+
},
|
|
12
|
+
isHref: false,
|
|
13
|
+
fixed: "",
|
|
14
|
+
align: "left",
|
|
15
|
+
"show-overflow-tooltip": false,
|
|
16
|
+
isQuery: false,
|
|
17
|
+
queryType: "2",
|
|
18
|
+
queryTableAlias: "",
|
|
19
|
+
value: "",
|
|
20
|
+
rules: [],
|
|
21
|
+
disableEdit: false
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
let components = [
|
|
25
|
+
Object.assign({}, common, {
|
|
26
|
+
fieldType: "text",
|
|
27
|
+
dataType: "",
|
|
28
|
+
label: "文本",
|
|
29
|
+
formatter: "",
|
|
30
|
+
desensitization: ""
|
|
31
|
+
}),
|
|
32
|
+
Object.assign({}, common, {
|
|
33
|
+
fieldType: "select",
|
|
34
|
+
dataType: "",
|
|
35
|
+
label: "单选",
|
|
36
|
+
optionType: "1",
|
|
37
|
+
library: {
|
|
38
|
+
url: "",
|
|
39
|
+
realField: "",
|
|
40
|
+
showField: ""
|
|
41
|
+
},
|
|
42
|
+
dicKey: "",
|
|
43
|
+
dicItem: []
|
|
44
|
+
}),
|
|
45
|
+
Object.assign({}, common, {
|
|
46
|
+
fieldType: "multipleSelection",
|
|
47
|
+
dataType: "",
|
|
48
|
+
label: "多选",
|
|
49
|
+
optionType: "1",
|
|
50
|
+
library: {
|
|
51
|
+
url: "",
|
|
52
|
+
realField: "",
|
|
53
|
+
showField: ""
|
|
54
|
+
},
|
|
55
|
+
dicKey: "",
|
|
56
|
+
dicItem: []
|
|
57
|
+
}),
|
|
58
|
+
Object.assign({}, common, {
|
|
59
|
+
fieldType: "switch",
|
|
60
|
+
dataType: "",
|
|
61
|
+
label: "开关",
|
|
62
|
+
switchValue: {
|
|
63
|
+
activeValue: "",
|
|
64
|
+
inActiveValue: "",
|
|
65
|
+
readOnly: false,
|
|
66
|
+
changeEvent: ""
|
|
67
|
+
},
|
|
68
|
+
}),
|
|
69
|
+
Object.assign({}, common, {
|
|
70
|
+
fieldType: "date",
|
|
71
|
+
dataType: "",
|
|
72
|
+
label: "日期",
|
|
73
|
+
dateFormat: {
|
|
74
|
+
format: "yyyy-MM-dd",
|
|
75
|
+
valueFormat: "yyyyMMdd"
|
|
76
|
+
},
|
|
77
|
+
dateOption: {
|
|
78
|
+
isLong: false,
|
|
79
|
+
},
|
|
80
|
+
isBetween: false,
|
|
81
|
+
separator: "至",
|
|
82
|
+
placeholder: "开始日期",
|
|
83
|
+
endPlaceholder: "结束日期"
|
|
84
|
+
}),
|
|
85
|
+
Object.assign({}, common, {
|
|
86
|
+
fieldType: "datetime",
|
|
87
|
+
dataType: "",
|
|
88
|
+
label: "日期时间",
|
|
89
|
+
dateFormat: {
|
|
90
|
+
format: "yyyy-MM-dd HH:mm:ss",
|
|
91
|
+
valueFormat: "yyyyMMdd HH:mm:ss"
|
|
92
|
+
},
|
|
93
|
+
isBetween: false,
|
|
94
|
+
separator: "至",
|
|
95
|
+
placeholder: "开始日期",
|
|
96
|
+
endPlaceholder: "结束日期"
|
|
97
|
+
}),
|
|
98
|
+
];
|
|
99
|
+
|
|
100
|
+
let optBtn = {
|
|
101
|
+
prop: "",
|
|
102
|
+
fieldType: "optBtn",
|
|
103
|
+
label: "按钮",
|
|
104
|
+
perm: "",
|
|
105
|
+
noShowParams: "",
|
|
106
|
+
callback: ""
|
|
107
|
+
};
|
|
108
|
+
let customBtn = {
|
|
109
|
+
prop: "",
|
|
110
|
+
fieldType: "customBtn",
|
|
111
|
+
label: "按钮",
|
|
112
|
+
perm: "",
|
|
113
|
+
noShowParams: "",
|
|
114
|
+
callback: ""
|
|
115
|
+
};
|
|
116
|
+
let queryTab = {
|
|
117
|
+
id: "",
|
|
118
|
+
fieldName: "",
|
|
119
|
+
fieldType: "queryTab",
|
|
120
|
+
label: "筛选条件",
|
|
121
|
+
value: ""
|
|
122
|
+
};
|
|
123
|
+
let dynamicQuery = {
|
|
124
|
+
prop: "dynamicQueryProp",
|
|
125
|
+
fieldType: "dynamicQuery",
|
|
126
|
+
fieldNames: []
|
|
127
|
+
};
|
|
128
|
+
export {
|
|
129
|
+
components,
|
|
130
|
+
optBtn,
|
|
131
|
+
customBtn,
|
|
132
|
+
queryTab,
|
|
133
|
+
dynamicQuery
|
|
134
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const config = {
|
|
2
|
+
host: {
|
|
3
|
+
//后台API地址(gateway地址)
|
|
4
|
+
gateway_path: "http://192.168.100.191:7019",
|
|
5
|
+
//自定义后台API地址:-----项目名:地址
|
|
6
|
+
custom_gateway_path: {
|
|
7
|
+
"mftcc-lease-web": "http://192.168.110.204:7019",
|
|
8
|
+
"mftcc-cus-web": "http://192.168.110.204:7019"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
//表单配置文件地址---页面展现时读取表单配置文件
|
|
12
|
+
//(默认:static/data)
|
|
13
|
+
form_profile_path: "http://localhost:7009/mftcc-base-web/static/data",
|
|
14
|
+
//路由白名单---不会验证token不会被拦截
|
|
15
|
+
router_white_list: [
|
|
16
|
+
"/login",
|
|
17
|
+
"/wkfDesginer",
|
|
18
|
+
"/wkfCharts"
|
|
19
|
+
],
|
|
20
|
+
servers: {
|
|
21
|
+
sys: "mftcc-sys-server"
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
(function (window) {
|
|
26
|
+
window.config = config;
|
|
27
|
+
})(this);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const config = {
|
|
2
|
+
host: {
|
|
3
|
+
//后台API地址(gateway地址)
|
|
4
|
+
gateway_path: "http://127.0.0.1:7019"
|
|
5
|
+
},
|
|
6
|
+
//表单配置文件地址---页面展现时读取表单配置文件(默认:/mftcc-base-web/static/data)
|
|
7
|
+
form_profile_path: "http://127.0.0.1:7009/mftcc-base-web/static/data",
|
|
8
|
+
//路由白名单---不会验证token不会被拦截
|
|
9
|
+
router_white_list: [
|
|
10
|
+
"/login",
|
|
11
|
+
"/wkfDesginer",
|
|
12
|
+
"/wkfCharts"
|
|
13
|
+
]
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
window.config = config;
|