@lm_fe/core 0.2.10 → 0.2.11
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/a_chunks/index.js +22 -14
- package/dist/exports.d.ts +7 -0
- package/package.json +10 -10
package/dist/a_chunks/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
5
5
|
import _typeof from "@babel/runtime/helpers/typeof";
|
|
6
|
-
var _excluded = ["
|
|
6
|
+
var _excluded = ["name", "parentid"],
|
|
7
7
|
_excluded2 = ["type"],
|
|
8
8
|
_excluded3 = ["type"];
|
|
9
9
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
@@ -1723,12 +1723,12 @@ var NewListPage = function NewListPage(props) {
|
|
|
1723
1723
|
targetLabelCol: 8,
|
|
1724
1724
|
onSubmit: function onSubmit(_ref, old_data) {
|
|
1725
1725
|
return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
1726
|
-
var
|
|
1726
|
+
var name, parentid, others, key, res;
|
|
1727
1727
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
1728
1728
|
while (1) switch (_context.prev = _context.next) {
|
|
1729
1729
|
case 0:
|
|
1730
|
-
|
|
1731
|
-
key = "/happy/config-table/list2/".concat(
|
|
1730
|
+
name = _ref.name, parentid = _ref.parentid, others = _objectWithoutProperties(_ref, _excluded);
|
|
1731
|
+
key = "/happy/config-table/list2/".concat(name);
|
|
1732
1732
|
_context.next = 4;
|
|
1733
1733
|
return request.get('/api/permissions', {
|
|
1734
1734
|
params: {
|
|
@@ -1747,8 +1747,10 @@ var NewListPage = function NewListPage(props) {
|
|
|
1747
1747
|
_context.next = 10;
|
|
1748
1748
|
return request.post('/api/permissions', _objectSpread({
|
|
1749
1749
|
key: key,
|
|
1750
|
+
name: name,
|
|
1751
|
+
active: true,
|
|
1750
1752
|
parentid: parentid !== null && parentid !== void 0 ? parentid : 0,
|
|
1751
|
-
type: '
|
|
1753
|
+
type: 'menu'
|
|
1752
1754
|
}, others));
|
|
1753
1755
|
case 10:
|
|
1754
1756
|
safe_navigate(key);
|
|
@@ -1760,12 +1762,6 @@ var NewListPage = function NewListPage(props) {
|
|
|
1760
1762
|
}))();
|
|
1761
1763
|
},
|
|
1762
1764
|
formDescriptions: [{
|
|
1763
|
-
inputType: 'MA',
|
|
1764
|
-
name: 'key_name',
|
|
1765
|
-
label: '配置标识',
|
|
1766
|
-
required: true,
|
|
1767
|
-
layout: '1'
|
|
1768
|
-
}, {
|
|
1769
1765
|
inputType: 'MA',
|
|
1770
1766
|
name: 'name',
|
|
1771
1767
|
label: '菜单标题',
|
|
@@ -1779,7 +1775,7 @@ var NewListPage = function NewListPage(props) {
|
|
|
1779
1775
|
inputProps: {
|
|
1780
1776
|
marshal: 0,
|
|
1781
1777
|
fetch_options: {
|
|
1782
|
-
url: '/api/permissions?size=999&parentid.equals=0&
|
|
1778
|
+
url: '/api/permissions?size=999&parentid.equals=0&type.equals=menu',
|
|
1783
1779
|
valueKey: 'id',
|
|
1784
1780
|
labelKey: 'name'
|
|
1785
1781
|
}
|
|
@@ -1838,6 +1834,16 @@ var ReloadButton = function ReloadButton(props) {
|
|
|
1838
1834
|
value: 'SettingOutlined'
|
|
1839
1835
|
})
|
|
1840
1836
|
}, "\u7CFB\u7EDF\u914D\u7F6E") : null, mchcEnv.isAdmin ? /*#__PURE__*/React.createElement(NewListPage, null) : null, mchcEnv.isAdmin ? /*#__PURE__*/React.createElement(OkButton, {
|
|
1837
|
+
title: "\u914D\u7F6E\u8868\u683C\u6D4B\u8BD5",
|
|
1838
|
+
size: 'small',
|
|
1839
|
+
type: 'primary',
|
|
1840
|
+
onClick: function onClick() {
|
|
1841
|
+
return handleOpenModal('/happy/config-table/list2/test');
|
|
1842
|
+
},
|
|
1843
|
+
icon: /*#__PURE__*/React.createElement(MyIcon, {
|
|
1844
|
+
value: 'SettingOutlined'
|
|
1845
|
+
})
|
|
1846
|
+
}, "\u914D\u7F6E\u8868\u683C\u6D4B\u8BD5") : null, mchcEnv.isAdmin ? /*#__PURE__*/React.createElement(OkButton, {
|
|
1841
1847
|
title: "\u914D\u7F6E\u7EC3\u4E60",
|
|
1842
1848
|
size: 'small',
|
|
1843
1849
|
type: 'primary',
|
|
@@ -2157,8 +2163,10 @@ function theme_config(sys_theme) {
|
|
|
2157
2163
|
headerBg: darkTheme ? bg_color : '#eee'
|
|
2158
2164
|
},
|
|
2159
2165
|
Segmented: {
|
|
2160
|
-
|
|
2161
|
-
|
|
2166
|
+
itemSelectedBg: colors === null || colors === void 0 ? void 0 : colors.light[1],
|
|
2167
|
+
// itemSelectedColor: '#fff',
|
|
2168
|
+
trackBg: colors === null || colors === void 0 ? void 0 : colors.light[0]
|
|
2169
|
+
// itemSelectedBg: colors?.light[0],
|
|
2162
2170
|
// trackBg: colorPrimary,
|
|
2163
2171
|
},
|
|
2164
2172
|
Layout: {
|
package/dist/exports.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export declare const mchc_event: import("@lm_fe/utils").EventEmitter<{
|
|
|
35
35
|
} & import("antd").NotificationArgsProps];
|
|
36
36
|
}>;
|
|
37
37
|
export declare const mchc_routes: {
|
|
38
|
+
"/birth-certificate": import("react").LazyExoticComponent<typeof import("@lm_fe/pages-mchc/dist/pages/birth-certificate").default>;
|
|
38
39
|
"/config-table": import("react").LazyExoticComponent<(props: any) => import("react").JSX.Element>;
|
|
39
40
|
"/config-table/list": import("react").LazyExoticComponent<typeof import("@lm_fe/pages-mchc/dist/pages/config-table/list").default>;
|
|
40
41
|
"/config-table/list2": import("react").LazyExoticComponent<typeof import("@lm_fe/pages-mchc/dist/pages/config-table/list2").default>;
|
|
@@ -158,12 +159,15 @@ export declare const mchc_config: {
|
|
|
158
159
|
医生端_复诊按钮浮动?: boolean;
|
|
159
160
|
医生端_复诊左侧隐藏?: boolean;
|
|
160
161
|
医生端_复诊编辑控制?: boolean;
|
|
162
|
+
标签管理?: boolean;
|
|
161
163
|
高危标记多选?: number;
|
|
162
164
|
病人标签多选?: number;
|
|
163
165
|
旧版量表隐藏?: string[];
|
|
164
166
|
禁用量表自动弹出?: boolean;
|
|
165
167
|
头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
168
|
+
产后信息拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
166
169
|
量表拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
170
|
+
专案拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
167
171
|
医生端_BMI曲线类型?: number;
|
|
168
172
|
签名方式?: "CA\u7B7E\u540D\u5E76\u4FDD\u5B58" | "CA\u7B7E\u540D";
|
|
169
173
|
顶部工具栏隐藏?: boolean;
|
|
@@ -232,12 +236,15 @@ export declare const mchc_config: {
|
|
|
232
236
|
医生端_复诊按钮浮动?: boolean;
|
|
233
237
|
医生端_复诊左侧隐藏?: boolean;
|
|
234
238
|
医生端_复诊编辑控制?: boolean;
|
|
239
|
+
标签管理?: boolean;
|
|
235
240
|
高危标记多选?: number;
|
|
236
241
|
病人标签多选?: number;
|
|
237
242
|
旧版量表隐藏?: string[];
|
|
238
243
|
禁用量表自动弹出?: boolean;
|
|
239
244
|
头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
245
|
+
产后信息拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
240
246
|
量表拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
247
|
+
专案拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
241
248
|
医生端_BMI曲线类型?: number;
|
|
242
249
|
签名方式?: "CA\u7B7E\u540D\u5E76\u4FDD\u5B58" | "CA\u7B7E\u540D";
|
|
243
250
|
顶部工具栏隐藏?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lm_fe/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"react-router-dom": "^5.2.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@lm_fe/components": "^0.2.
|
|
43
|
-
"@lm_fe/components_m": "^0.2.
|
|
44
|
-
"@lm_fe/env": "^0.2.
|
|
45
|
-
"@lm_fe/pages": "^0.2.
|
|
46
|
-
"@lm_fe/pages-fubao": "^0.2.
|
|
47
|
-
"@lm_fe/pages-mchc": "^0.2.
|
|
48
|
-
"@lm_fe/provoke": "^0.2.
|
|
42
|
+
"@lm_fe/components": "^0.2.11",
|
|
43
|
+
"@lm_fe/components_m": "^0.2.11",
|
|
44
|
+
"@lm_fe/env": "^0.2.11",
|
|
45
|
+
"@lm_fe/pages": "^0.2.11",
|
|
46
|
+
"@lm_fe/pages-fubao": "^0.2.11",
|
|
47
|
+
"@lm_fe/pages-mchc": "^0.2.11",
|
|
48
|
+
"@lm_fe/provoke": "^0.2.11",
|
|
49
49
|
"@lm_fe/scripts": "*",
|
|
50
|
-
"@lm_fe/service": "^0.2.
|
|
50
|
+
"@lm_fe/service": "^0.2.11",
|
|
51
51
|
"@lm_fe/utils": "^0.2.8"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "8ee2a113189d78379b20978d083f616f4a672ca3"
|
|
54
54
|
}
|