cnhis-design-vue 3.1.21 → 3.1.22-beta.1
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/README.md +123 -123
- package/es/components/big-table/index.d.ts +8 -0
- package/es/components/big-table/src/BigTable.vue.d.ts +8 -0
- package/es/components/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.js +7 -6
- package/es/components/big-table/style/index.css +1 -1
- package/es/components/field-set/index.d.ts +27 -3
- package/es/components/field-set/src/FieldSet.js +18 -8
- package/es/components/field-set/src/FieldSet.vue.d.ts +7 -3
- package/es/components/form-render/src/hooks/useFieldNormalize2.js +6 -0
- package/es/components/{his-table → iho-table}/index.d.ts +19 -16
- package/es/components/{his-table → iho-table}/index.js +1 -1
- package/es/components/{his-table → iho-table}/index2.js +5 -5
- package/es/components/{his-table/src/HisTable.js → iho-table/src/IhoTable.js} +12 -8
- package/es/components/{his-table/src/HisTable.vue.d.ts → iho-table/src/IhoTable.vue.d.ts} +21 -18
- package/es/components/{his-table/src/components/HisTableColumn.d.ts → iho-table/src/components/IhoTableColumn.d.ts} +3 -3
- package/es/components/{his-table/src/components/HisTableColumn.js → iho-table/src/components/IhoTableColumn.js} +3 -3
- package/es/components/iho-table/src/components/index.d.ts +1 -0
- package/es/components/iho-table/src/components/index.js +1 -0
- package/es/components/iho-table/src/constants/index.d.ts +40 -0
- package/es/components/iho-table/src/constants/index.js +1 -0
- package/es/components/iho-table/src/constants/index2.js +40 -0
- package/es/components/{his-table → iho-table}/src/hooks/index.d.ts +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/index.js +0 -0
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +8 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/index.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/index2.js +8 -3
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +13 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useConfigHooks.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useConfigHooks2.js +1 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useEventHooks.d.ts +59 -59
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useEventHooks.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useEventHooks2.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useFieldHooks.d.ts +3 -3
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useFieldHooks.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useFieldHooks2.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/useTablePlugin.d.ts +1 -1
- package/es/components/{his-table → iho-table}/src/hooks/useTablePlugin.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/useTablePlugin2.js +6 -1
- package/es/components/{his-table → iho-table}/src/plugins/defaultConfigPlugin/index.d.ts +1 -1
- package/es/components/{his-table → iho-table}/src/plugins/defaultConfigPlugin/index.js +0 -0
- package/es/components/{his-table → iho-table}/src/plugins/defaultConfigPlugin/index2.js +8 -3
- package/es/components/{his-table → iho-table}/src/plugins/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/index.js +7 -0
- package/es/components/iho-table/src/plugins/index2.js +7 -0
- package/es/components/{his-table → iho-table}/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -1
- package/es/components/{his-table → iho-table}/src/plugins/lowCodeFieldAdaptorPlugin/index.js +0 -0
- package/es/components/{his-table → iho-table}/src/plugins/lowCodeFieldAdaptorPlugin/index2.js +9 -5
- package/es/components/iho-table/src/plugins/rendererPlugins/checkRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/checkRendererPlugin.js +28 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/colorRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/colorRendererPlugin.js +48 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/defaultRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/defaultRendererPlugin.js +62 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/index.d.ts +5 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/index.js +5 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/labelRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/labelRendererPlugin.js +45 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/seqRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/seqRendererPlugin.js +55 -0
- package/es/components/iho-table/src/types/index.d.ts +23 -0
- package/es/components/{his-table → iho-table}/src/types/index.js +1 -1
- package/es/components/{his-table → iho-table}/src/types/pluginType.d.ts +14 -15
- package/es/components/{his-table → iho-table}/src/types/pluginType.js +1 -1
- package/es/components/{his-table → iho-table}/src/types/pluginType2.js +1 -3
- package/es/components/iho-table/src/utils/index.d.ts +2 -0
- package/es/components/iho-table/src/utils/index.js +1 -0
- package/es/components/iho-table/src/utils/index2.js +8 -0
- package/es/components/iho-table/style/index.css +1 -0
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +3 -3
- package/es/components/index.js +3 -3
- package/es/components/index2.js +3 -3
- package/es/components/info-header/src/InfoHeader.js +3 -3
- package/es/components/info-header/style/index.css +1 -1
- package/es/shared/utils/tapable/SyncHook.js +2 -23
- package/package.json +2 -2
- package/es/components/big-table/src/components/edit-form/useCommon.d.ts +0 -4
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
- package/es/components/his-table/src/components/index.d.ts +0 -1
- package/es/components/his-table/src/components/index.js +0 -1
- package/es/components/his-table/src/hooks/tapHooks/index.d.ts +0 -9
- package/es/components/his-table/src/hooks/tapHooks/useConfigHooks.d.ts +0 -12
- package/es/components/his-table/src/hooks/tapHooks/useVxeTableHooks.d.ts +0 -9
- package/es/components/his-table/src/hooks/tapHooks/useVxeTableHooks.js +0 -1
- package/es/components/his-table/src/hooks/tapHooks/useVxeTableHooks2.js +0 -27
- package/es/components/his-table/src/plugins/index.js +0 -2
- package/es/components/his-table/src/plugins/index2.js +0 -2
- package/es/components/his-table/src/plugins/lowCodeFieldAdaptorPlugin/formatter.d.ts +0 -2
- package/es/components/his-table/src/plugins/lowCodeFieldAdaptorPlugin/formatter.js +0 -1
- package/es/components/his-table/src/plugins/lowCodeFieldAdaptorPlugin/formatter2.js +0 -5
- package/es/components/his-table/src/types/index.d.ts +0 -12
- package/es/components/his-table/style/index.css +0 -0
- package/es/shared/utils/tapable/index.d.ts +0 -139
package/README.md
CHANGED
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
# 安装
|
|
2
|
-
|
|
3
|
-
```shell
|
|
4
|
-
npm i cnhis-design-vue@[版本号]
|
|
5
|
-
# or
|
|
6
|
-
yarn add cnhis-design-vue@[版本号] #推荐
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
## 1.全局引入
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
// main.ts
|
|
13
|
-
import { createApp } from 'vue';
|
|
14
|
-
import App from './App.vue';
|
|
15
|
-
import 'cnhis-design-vue/es/packages/index.css';
|
|
16
|
-
import cui from 'cnhis-design-vue';
|
|
17
|
-
|
|
18
|
-
const app = createApp(App);
|
|
19
|
-
app.use(cui).mount('#app');
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## 2. 按需引入
|
|
23
|
-
|
|
24
|
-
组件现在支持了自动按需引入, 但是样式文件需要额外的处理
|
|
25
|
-
|
|
26
|
-
### 2.1 样式处理方式 1(按需引入样式)
|
|
27
|
-
|
|
28
|
-
```shell
|
|
29
|
-
# 安装自动导入样式的插件
|
|
30
|
-
npm i -d vite-plugin-style-import
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
```typescript
|
|
34
|
-
// vite.config.ts
|
|
35
|
-
import { defineConfig } from 'vite';
|
|
36
|
-
import { createStyleImportPlugin } from 'vite-plugin-style-import';
|
|
37
|
-
|
|
38
|
-
export default defineConfig({
|
|
39
|
-
plugins: [
|
|
40
|
-
// ...otherPlugins
|
|
41
|
-
createStyleImportPlugin({
|
|
42
|
-
libs: [
|
|
43
|
-
{
|
|
44
|
-
libraryName: 'cnhis-design-vue',
|
|
45
|
-
esModule: true,
|
|
46
|
-
ensureStyleFile: true,
|
|
47
|
-
resolveStyle: name => {
|
|
48
|
-
return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
})
|
|
53
|
-
]
|
|
54
|
-
});
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### 2.2 样式处理方式 2(全局引入样式)
|
|
58
|
-
|
|
59
|
-
```typescript
|
|
60
|
-
// main.ts
|
|
61
|
-
import 'cnhis-design-vue/es/components/index.css';
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## 3. 注意
|
|
65
|
-
|
|
66
|
-
由于 vxe-table 目前的引入方式是由组件 install 触发的,所以如果需要使用 c-grid/c-big-table 组件,需要全局注册二者任意一个
|
|
67
|
-
|
|
68
|
-
```typescript
|
|
69
|
-
// main.ts
|
|
70
|
-
import { createApp } from 'vue';
|
|
71
|
-
import App from './App.vue';
|
|
72
|
-
|
|
73
|
-
import { CGrid } from 'cnhis-design-vue';
|
|
74
|
-
// 或者
|
|
75
|
-
import { CBigTable } from 'cnhis-design-vue';
|
|
76
|
-
|
|
77
|
-
const app = createApp(App);
|
|
78
|
-
app.use(CGrid);
|
|
79
|
-
// 或者
|
|
80
|
-
app.use(CBigTable);
|
|
81
|
-
app.mount('#app');
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
## 4.FAQ
|
|
85
|
-
|
|
86
|
-
### 4.1 项目打包后样式丢失
|
|
87
|
-
|
|
88
|
-
> 处理方法, 将 cnhis-design-vue 从 vendor 包中移除
|
|
89
|
-
|
|
90
|
-
```typescript
|
|
91
|
-
// vite.config.ts
|
|
92
|
-
import { defineConfig } from 'vite';
|
|
93
|
-
|
|
94
|
-
export default defineConfig({
|
|
95
|
-
rollupOptions: {
|
|
96
|
-
// ..otherOptions
|
|
97
|
-
output: {
|
|
98
|
-
dir: './dist',
|
|
99
|
-
manualChunks(id: string) {
|
|
100
|
-
if (id.includes('node_modules') && !id.includes('cnhis-design-vue')) {
|
|
101
|
-
return 'vendor';
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
### 4.2 找不到文件
|
|
110
|
-
|
|
111
|
-
> 由于组件库输出文件类型由 js 修改成了 mjs, 如果配置了 resolve 属性的项目, 需要将 mjs 文件类型添加至 extensions 中
|
|
112
|
-
|
|
113
|
-
```javascript
|
|
114
|
-
// vite.config.ts
|
|
115
|
-
const config = {
|
|
116
|
-
// ...otherOptions
|
|
117
|
-
resolve: {
|
|
118
|
-
// ...otherOptions
|
|
119
|
-
// 如果没有配置, 则不用考虑
|
|
120
|
-
extensions: ['.js', '.ts', '.vue', '.json', '.mjs']
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
```
|
|
1
|
+
# 安装
|
|
2
|
+
|
|
3
|
+
```shell
|
|
4
|
+
npm i cnhis-design-vue@[版本号]
|
|
5
|
+
# or
|
|
6
|
+
yarn add cnhis-design-vue@[版本号] #推荐
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## 1.全局引入
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
// main.ts
|
|
13
|
+
import { createApp } from 'vue';
|
|
14
|
+
import App from './App.vue';
|
|
15
|
+
import 'cnhis-design-vue/es/packages/index.css';
|
|
16
|
+
import cui from 'cnhis-design-vue';
|
|
17
|
+
|
|
18
|
+
const app = createApp(App);
|
|
19
|
+
app.use(cui).mount('#app');
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## 2. 按需引入
|
|
23
|
+
|
|
24
|
+
组件现在支持了自动按需引入, 但是样式文件需要额外的处理
|
|
25
|
+
|
|
26
|
+
### 2.1 样式处理方式 1(按需引入样式)
|
|
27
|
+
|
|
28
|
+
```shell
|
|
29
|
+
# 安装自动导入样式的插件
|
|
30
|
+
npm i -d vite-plugin-style-import
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
// vite.config.ts
|
|
35
|
+
import { defineConfig } from 'vite';
|
|
36
|
+
import { createStyleImportPlugin } from 'vite-plugin-style-import';
|
|
37
|
+
|
|
38
|
+
export default defineConfig({
|
|
39
|
+
plugins: [
|
|
40
|
+
// ...otherPlugins
|
|
41
|
+
createStyleImportPlugin({
|
|
42
|
+
libs: [
|
|
43
|
+
{
|
|
44
|
+
libraryName: 'cnhis-design-vue',
|
|
45
|
+
esModule: true,
|
|
46
|
+
ensureStyleFile: true,
|
|
47
|
+
resolveStyle: name => {
|
|
48
|
+
return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
})
|
|
53
|
+
]
|
|
54
|
+
});
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### 2.2 样式处理方式 2(全局引入样式)
|
|
58
|
+
|
|
59
|
+
```typescript
|
|
60
|
+
// main.ts
|
|
61
|
+
import 'cnhis-design-vue/es/components/index.css';
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## 3. 注意
|
|
65
|
+
|
|
66
|
+
由于 vxe-table 目前的引入方式是由组件 install 触发的,所以如果需要使用 c-grid/c-big-table 组件,需要全局注册二者任意一个
|
|
67
|
+
|
|
68
|
+
```typescript
|
|
69
|
+
// main.ts
|
|
70
|
+
import { createApp } from 'vue';
|
|
71
|
+
import App from './App.vue';
|
|
72
|
+
|
|
73
|
+
import { CGrid } from 'cnhis-design-vue';
|
|
74
|
+
// 或者
|
|
75
|
+
import { CBigTable } from 'cnhis-design-vue';
|
|
76
|
+
|
|
77
|
+
const app = createApp(App);
|
|
78
|
+
app.use(CGrid);
|
|
79
|
+
// 或者
|
|
80
|
+
app.use(CBigTable);
|
|
81
|
+
app.mount('#app');
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## 4.FAQ
|
|
85
|
+
|
|
86
|
+
### 4.1 项目打包后样式丢失
|
|
87
|
+
|
|
88
|
+
> 处理方法, 将 cnhis-design-vue 从 vendor 包中移除
|
|
89
|
+
|
|
90
|
+
```typescript
|
|
91
|
+
// vite.config.ts
|
|
92
|
+
import { defineConfig } from 'vite';
|
|
93
|
+
|
|
94
|
+
export default defineConfig({
|
|
95
|
+
rollupOptions: {
|
|
96
|
+
// ..otherOptions
|
|
97
|
+
output: {
|
|
98
|
+
dir: './dist',
|
|
99
|
+
manualChunks(id: string) {
|
|
100
|
+
if (id.includes('node_modules') && !id.includes('cnhis-design-vue')) {
|
|
101
|
+
return 'vendor';
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### 4.2 找不到文件
|
|
110
|
+
|
|
111
|
+
> 由于组件库输出文件类型由 js 修改成了 mjs, 如果配置了 resolve 属性的项目, 需要将 mjs 文件类型添加至 extensions 中
|
|
112
|
+
|
|
113
|
+
```javascript
|
|
114
|
+
// vite.config.ts
|
|
115
|
+
const config = {
|
|
116
|
+
// ...otherOptions
|
|
117
|
+
resolve: {
|
|
118
|
+
// ...otherOptions
|
|
119
|
+
// 如果没有配置, 则不用考虑
|
|
120
|
+
extensions: ['.js', '.ts', '.vue', '.json', '.mjs']
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
```
|
|
@@ -329,6 +329,14 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
329
329
|
showInsertStatus?: boolean | undefined;
|
|
330
330
|
showAsterisk?: boolean | undefined;
|
|
331
331
|
autoClear?: boolean | undefined;
|
|
332
|
+
beforeEditMethod?: ((params: {
|
|
333
|
+
row: any;
|
|
334
|
+
rowIndex: number;
|
|
335
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
336
|
+
columnIndex: number;
|
|
337
|
+
$table: import("vxe-table").VxeTableConstructor & import("vxe-table").VxeTablePrivateMethods;
|
|
338
|
+
$grid: import("vxe-table").VxeGridConstructor | null | undefined;
|
|
339
|
+
}) => boolean) | undefined;
|
|
332
340
|
activeMethod?: ((params: {
|
|
333
341
|
row: any;
|
|
334
342
|
rowIndex: number;
|
|
@@ -327,6 +327,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
327
327
|
showInsertStatus?: boolean | undefined;
|
|
328
328
|
showAsterisk?: boolean | undefined;
|
|
329
329
|
autoClear?: boolean | undefined;
|
|
330
|
+
beforeEditMethod?: ((params: {
|
|
331
|
+
row: any;
|
|
332
|
+
rowIndex: number;
|
|
333
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
334
|
+
columnIndex: number;
|
|
335
|
+
$table: import("vxe-table").VxeTableConstructor & import("vxe-table").VxeTablePrivateMethods;
|
|
336
|
+
$grid: import("vxe-table").VxeGridConstructor | null | undefined;
|
|
337
|
+
}) => boolean) | undefined;
|
|
330
338
|
activeMethod?: ((params: {
|
|
331
339
|
row: any;
|
|
332
340
|
rowIndex: number;
|
|
@@ -430,7 +430,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
430
430
|
};
|
|
431
431
|
}
|
|
432
432
|
const currentColumns = fieldList.map((item, index) => {
|
|
433
|
-
var _a2, _b2, _c2, _d, _e, _f, _g;
|
|
433
|
+
var _a2, _b2, _c2, _d, _e, _f, _g, _h;
|
|
434
434
|
let filterField = false;
|
|
435
435
|
let filterItems = [];
|
|
436
436
|
try {
|
|
@@ -445,6 +445,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
445
445
|
let sortable = props.isNestTable ? false : !filterField && item.isSort == 1 && notParticipatingSort != 1 && item.isMerge != 1;
|
|
446
446
|
let treeNode = props.isNestTable ? false : state.isTree != 0 ? index === 0 : false;
|
|
447
447
|
let type = index === 0 && props.showNestTable ? "expand" : "";
|
|
448
|
+
const isShow = item.isShow == 1 && ((_e = item == null ? void 0 : item.settingObj) == null ? void 0 : _e.isHide) != 1;
|
|
448
449
|
if (isScanMultiTable2) {
|
|
449
450
|
fixed = "";
|
|
450
451
|
sortable = false;
|
|
@@ -452,15 +453,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
452
453
|
type = "";
|
|
453
454
|
}
|
|
454
455
|
const col = Object.assign(item, {
|
|
455
|
-
visible: item.columnName == "operatorColumn" ? showButtonTop == 0 :
|
|
456
|
+
visible: item.columnName == "operatorColumn" ? showButtonTop == 0 : isShow,
|
|
456
457
|
field: item.columnName,
|
|
457
458
|
title: handleName(item, "title"),
|
|
458
459
|
minWidth: item.colWidth,
|
|
459
460
|
fixed,
|
|
460
461
|
sortable,
|
|
461
462
|
headerClassName: "mycolumn",
|
|
462
|
-
resizable: (
|
|
463
|
-
showOverflow: (
|
|
463
|
+
resizable: (_f = item.resizable) != null ? _f : true,
|
|
464
|
+
showOverflow: (_g = item.showOverflow) != null ? _g : "title",
|
|
464
465
|
treeNode,
|
|
465
466
|
type,
|
|
466
467
|
slots: {
|
|
@@ -475,7 +476,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
475
476
|
if (filterField && !props.isNestTable && !isScanMultiTable2) {
|
|
476
477
|
state.filterFields[item.columnName] = Object.assign({}, XEUtils.clone({
|
|
477
478
|
...item,
|
|
478
|
-
setting: item.settingObj
|
|
479
|
+
setting: item.settingObj || {}
|
|
479
480
|
}, true), {
|
|
480
481
|
visible: false,
|
|
481
482
|
left: "initial",
|
|
@@ -497,7 +498,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
497
498
|
if (!isScanMultiTable2 && !isFunction(attr.footerMethod) && !isFunction(attr["footer-method"])) {
|
|
498
499
|
col.slots.footer = "tooltip_footer";
|
|
499
500
|
}
|
|
500
|
-
if (props.showNestTable && state.isTree == 0 && ((
|
|
501
|
+
if (props.showNestTable && state.isTree == 0 && ((_h = props.curNestColumnConfig) == null ? void 0 : _h.isTree) == 0) {
|
|
501
502
|
col.slots.content = "nest_table_content";
|
|
502
503
|
}
|
|
503
504
|
return col;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.big-table-filter-wrap{background-color:#fff;border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.2);display:flex;flex-direction:column;flex-wrap:wrap;margin-top:-6px;min-width:280px;overflow:hidden;position:fixed;transform:translateX(-2%);transition:width 2s;z-index:99998}.big-table-filter-wrap .sort-list{margin-top:6px}.big-table-filter-wrap .sort-item{align-items:center;display:flex;height:32px;padding:0 13px}.big-table-filter-wrap .sort-item.active,.big-table-filter-wrap .sort-item:hover{background:#f2f2f2}.big-table-filter-wrap .sort-icon{background-size:contain;display:inline-block;height:16px;width:16px}.big-table-filter-wrap .sort-text{color:rgba(0,0,0,.8);font-size:14px;line-height:32px;margin-left:11px}.big-table-filter-wrap .sort-icon-desc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABT0lEQVRYR+3WvSuGYRTH8c9TykpJSimLMvgHpLyUCQsmg/wBMss/ILvdJgspNnkbZFYGk7JQSAaLwUuX7uFxu3E/nvvqSd3XeHW6zvec65zfORUNPpUG+1cClBnIysABhiMV5y4mqt/OAliPCHCImd8AIgWf/WzMIhzFK/Z/iigWQAtuE4A2PH0HEQugG5eJ005clwBlBmrJwDwGcorBNjYybOsqwit05QQ4R1/RAB3oqQHgoWiAnL5/NKvrC/4tQBNacYesDAR5fkxHV6QU72EQczhNSfE4VpOOmY01jsOyMYYXLGElcbSIZT4W4C1MxQIIUy9sU1ltGXyeYQSfuua7L2jOWYnPKbt2HKE3dR/0Iqx593lq4AT9OQE2MZ2yDTpyXKUlF0lthP3gy8nKwBqGcgLsYCHDNuwAAe4Nk7ipZRbk9F2MWZFt+CeiEuAdAU5CIQxYYdUAAAAASUVORK5CYII=")}.big-table-filter-wrap .filter-header{cursor:auto;padding:0 13px}.big-table-filter-wrap .filter-header-icon{border-right-color:#333;border-top-color:#333}.big-table-filter-wrap .filter-header-text{margin-left:11px}.big-table-filter-wrap .check-search-wrap{background:#f7f7f7;display:flex;justify-content:center;padding:8px 0;width:100%}.big-table-filter-wrap .check-seach-input{line-height:32px}.big-table-filter-wrap .checkbox-box{padding-right:3px;width:100%}.big-table-filter-wrap .checkbox-wrap{background:#fff;display:flex;flex-direction:column;overflow-y:auto;padding-left:13px;padding-right:3px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar{height:4px;width:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-thumb{background-color:#d5d5d5;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-track{background-color:#fff;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-corner{background-color:#000;border-radius:4px;width:4px}.big-table-filter-wrap .checkbox-wrap--search{padding-right:10px}.big-table-filter-wrap .checkbox-btn-wrap{display:flex;padding:9px 10px 9px 14px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn{padding:0;width:56px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn+.checkbox-btn{margin-left:8px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn{border:0;border-radius:0;margin:0 13px;position:relative;width:auto}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn:hover:after{background-color:#5585f5;bottom:5px;content:"";display:block;height:1px;position:absolute;width:100%}.big-table-filter-wrap .arrows-icon{bottom:-1px;cursor:nw-resize;font-size:15px;height:20px;position:absolute;right:-1px;width:25px}.big-table__separate{padding:4px}.big-table__separatePlaceholder{display:inline-block;max-width:0;visibility:hidden;width:0;word-break:keep-all}.custom-big-table{position:relative}.custom-big-table .n-input{width:fit-content}.custom-big-table .img-wrap{align-items:center;display:flex;height:100%;line-height:1;padding:2px 0}.custom-big-table .img-wrap img{cursor:pointer;max-height:100%;object-fit:contain}.custom-big-table .img-wrap.img-circle img{border-radius:50%;object-fit:contain;width:28px}.custom-big-table .bigTable-qr-span{display:inline-block;height:100%;position:relative}.custom-big-table .bigTable-qr-span .bigTable-qr-img{max-height:96%}.custom-big-table .bigTable-qr-span>span{align-items:center;background:rgba(0,0,0,.7);color:#fff;cursor:pointer;display:none;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.custom-big-table .bigTable-qr-span:hover>span{display:inline-flex}.custom-big-table .base-form{align-items:center;display:flex;overflow:hidden!important;width:100%}.custom-big-table .base-form-content{width:100%}.custom-big-table textarea{height:32px;margin-bottom:0;resize:none}.custom-big-table .formItem-select-multiple{align-items:center;display:flex;line-height:40px;width:100%}.custom-big-table.mt{height:calc(100% - 78px)!important;margin-top:26px}.custom-big-table.expand-padding .vxe-table .vxe-body--expanded-cell{padding-left:66px!important;padding-right:66px!important}.custom-big-table th.vxe-header--column{cursor:pointer}.custom-big-table .row-btn{margin-right:10px}.custom-big-table .vxe-table{transform:translateZ(0)}.custom-big-table .vxe-table .vxe-table--empty-content,.custom-big-table .vxe-table .vxe-table--empty-content>div{height:100%;width:100%}.custom-big-table .vxe-table .vxe-table--empty-content>div .no-data-tip{display:inline-flex}.custom-big-table .vxe-table .col--checkbox .vxe-cell,.custom-big-table .vxe-table .col--seq .vxe-cell{padding:0}.custom-big-table .vxe-table .col--checkbox .vxe-cell .vxe-checkbox--label,.custom-big-table .vxe-table .col--seq .vxe-cell .vxe-checkbox--label{padding-left:0}.custom-big-table .vxe-table .vxe-cell .vxe-tree-cell{height:100%}.custom-big-table .vxe-table .scan-multi-delete{color:#f06f64}.custom-big-table .vxe-table .vxe-table--header{background-color:#f2f2f2}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title{display:inline-flex;height:100%;line-height:unset;width:100%}.custom-big-table .vxe-table .vxe-table--header .col--checkbox .vxe-cell--title,.custom-big-table .vxe-table .vxe-table--header .col--seq .vxe-cell--title{display:inline-block}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:#f2f2f2;height:10px;width:10px}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background-color:#b2b2b2}.custom-big-table .vxe-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.custom-big-table .vxe-table .vxe-cell--checkbox .vxe-checkbox--label{display:none}.custom-big-table .filter-box{align-items:center;display:flex;width:100%}.custom-big-table .filter-box .text-over-tooltip-components{max-width:calc(100% - 40px)}.custom-big-table .filter-box .vxe-filter--btn{border-right-color:#c0c4cc;border-top-color:#c0c4cc}.custom-big-table .filter-box .vxe-filter--btn.active{border-right-color:#35393c;border-top-color:#35393c}.custom-big-table .filter-box .vxe-filter--btn.checked{border-right-color:#5585f5;border-top-color:#5585f5}.custom-big-table .disabled-checked-tips{background:#fff;border:2px solid #ff1818;border-radius:50%;bottom:0;box-sizing:border-box;height:16px;margin-top:-8px;overflow:hidden;position:absolute;right:0;top:50%;width:16px}.custom-big-table .disabled-checked-tips:after{background-color:#ff1818;content:"";height:2px;left:0;position:absolute;top:0;transform:rotate(45deg);transform-origin:0 2px;width:16px}.custom-big-table .form-select-table .n-base-select-menu__empty{display:none}.custom-big-table .percent-wrap{align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center}.custom-big-table .percent-wrap .percent-value{line-height:1;margin-bottom:-4px;margin-top:4px}.custom-big-table .refresh{align-items:center;background-color:#fff;border-bottom-left-radius:14px;border-top-left-radius:14px;box-shadow:0 2px 4px 0 hsla(0,0%,42%,.13);color:#5585f5;cursor:pointer;display:flex;font-size:12px;height:27px;padding-left:14px;padding-right:14px;position:absolute;right:0;top:6px;z-index:1}.custom-big-table .refresh-row{margin-bottom:0;margin-left:3px}.custom-big-table .check-wrap{background:#ffffe9;display:flex;justify-content:center;line-height:26px;margin-top:-26px;position:absolute;width:100%}.custom-big-table .check-wrap .check-wrap-btn,.custom-big-table .check-wrap .check-wrap-title{color:#000;cursor:pointer;font-size:12px;margin-bottom:0}.custom-big-table .check-wrap .check-wrap-btn{color:#5585f5}.custom-big-table .domPropsInnerHTML-span{height:100%}.custom-big-table .domPropsInnerHTML-span img{display:inline-block;height:var(--tableImageHeight);width:var(--tableImageWidth)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom{background:var(--table-icon-color);box-shadow:0 2px 4px 0 var(--table-icon-shadow)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom,.custom-big-table .domPropsInnerHTML-span .icon-dot-red{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-red{background:red;box-shadow:0 2px 4px 0 rgba(255,0,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue{background:blue;box-shadow:0 2px 4px 0 rgba(0,0,255,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue,.custom-big-table .domPropsInnerHTML-span .icon-dot-green{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-green{background:green;box-shadow:0 2px 4px 0 rgba(0,128,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray{background:gray;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray,.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{background:#ff0;box-shadow:0 2px 4px 0 rgba(255,255,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{background:#36be8c;box-shadow:0 2px 4px 0 rgba(54,190,140,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu,.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu{background:#42d0f6;box-shadow:0 2px 4px 0 rgba(66,208,246,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-close{background:#718391;box-shadow:0 2px 4px 0 rgba(113,131,145,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit,.custom-big-table .domPropsInnerHTML-span .icon-dot-close{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit{background:#f4ba32;box-shadow:0 2px 4px 0 rgba(244,186,50,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-design{background:#927ce1;box-shadow:0 2px 4px 0 rgba(146,124,225,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-design,.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{background:#4eb0ef;box-shadow:0 2px 4px 0 rgba(78,176,239,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop-complete{background:#6381f9;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .vxe-table--render-default .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:4px 0 4px 0 rgba(0,0,0,.12)}.custom-big-table .vxe-table--render-default .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-4px 0 4px 0 rgba(0,0,0,.12)}.annotation-edit{align-items:center;color:#0067ee;cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:#ff9828}.annotation-edit__icon{align-items:center;display:inline-flex}.no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.no-data-tip>img{max-width:70%;width:260px}.no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.text-over-tooltip-components{display:inline-block;max-width:98%}.text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.svg-icon{fill:currentColor;height:1em;overflow:hidden;vertical-align:-.15em;width:1em}.vxe-header--column [annotation-hover-show=true]{visibility:hidden}.vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.big-table__annotationWrapper{align-items:center;display:inline-flex;width:20px}
|
|
1
|
+
.big-table-filter-wrap{background-color:#fff;border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.2);display:flex;flex-direction:column;flex-wrap:wrap;margin-top:-6px;min-width:280px;overflow:hidden;position:fixed;transform:translateX(-2%);transition:width 2s;z-index:99998}.big-table-filter-wrap .sort-list{margin-top:6px}.big-table-filter-wrap .sort-item{align-items:center;display:flex;height:32px;padding:0 13px}.big-table-filter-wrap .sort-item.active,.big-table-filter-wrap .sort-item:hover{background:#f2f2f2}.big-table-filter-wrap .sort-icon{background-size:contain;display:inline-block;height:16px;width:16px}.big-table-filter-wrap .sort-text{color:rgba(0,0,0,.8);font-size:14px;line-height:32px;margin-left:11px}.big-table-filter-wrap .sort-icon-desc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABT0lEQVRYR+3WvSuGYRTH8c9TykpJSimLMvgHpLyUCQsmg/wBMss/ILvdJgspNnkbZFYGk7JQSAaLwUuX7uFxu3E/nvvqSd3XeHW6zvec65zfORUNPpUG+1cClBnIysABhiMV5y4mqt/OAliPCHCImd8AIgWf/WzMIhzFK/Z/iigWQAtuE4A2PH0HEQugG5eJ005clwBlBmrJwDwGcorBNjYybOsqwit05QQ4R1/RAB3oqQHgoWiAnL5/NKvrC/4tQBNacYesDAR5fkxHV6QU72EQczhNSfE4VpOOmY01jsOyMYYXLGElcbSIZT4W4C1MxQIIUy9sU1ltGXyeYQSfuua7L2jOWYnPKbt2HKE3dR/0Iqx593lq4AT9OQE2MZ2yDTpyXKUlF0lthP3gy8nKwBqGcgLsYCHDNuwAAe4Nk7ipZRbk9F2MWZFt+CeiEuAdAU5CIQxYYdUAAAAASUVORK5CYII=")}.big-table-filter-wrap .filter-header{cursor:auto;padding:0 13px}.big-table-filter-wrap .filter-header-icon{border-right-color:#333;border-top-color:#333}.big-table-filter-wrap .filter-header-text{margin-left:11px}.big-table-filter-wrap .check-search-wrap{background:#f7f7f7;display:flex;justify-content:center;padding:8px 0;width:100%}.big-table-filter-wrap .check-seach-input{line-height:32px}.big-table-filter-wrap .checkbox-box{padding-right:3px;width:100%}.big-table-filter-wrap .checkbox-wrap{background:#fff;display:flex;flex-direction:column;overflow-y:auto;padding-left:13px;padding-right:3px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar{height:4px;width:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-thumb{background-color:#d5d5d5;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-track{background-color:#fff;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-corner{background-color:#000;border-radius:4px;width:4px}.big-table-filter-wrap .checkbox-wrap--search{padding-right:10px}.big-table-filter-wrap .checkbox-btn-wrap{display:flex;padding:9px 10px 9px 14px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn{padding:0;width:56px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn+.checkbox-btn{margin-left:8px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn{border:0;border-radius:0;margin:0 13px;position:relative;width:auto}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn:hover:after{background-color:#5585f5;bottom:5px;content:"";display:block;height:1px;position:absolute;width:100%}.big-table-filter-wrap .arrows-icon{bottom:-1px;cursor:nw-resize;font-size:15px;height:20px;position:absolute;right:-1px;width:25px}.big-table__separate{padding:4px}.big-table__separatePlaceholder{display:inline-block;max-width:0;visibility:hidden;width:0;word-break:keep-all}.custom-big-table{position:relative}.custom-big-table .n-input{width:fit-content}.custom-big-table .img-wrap{align-items:center;display:flex;height:100%;line-height:1;padding:2px 0}.custom-big-table .img-wrap img{cursor:pointer;max-height:100%;object-fit:contain}.custom-big-table .img-wrap.img-circle img{border-radius:50%;object-fit:contain;width:28px}.custom-big-table .bigTable-qr-span{display:inline-block;height:100%;position:relative}.custom-big-table .bigTable-qr-span .bigTable-qr-img{max-height:96%}.custom-big-table .bigTable-qr-span>span{align-items:center;background:rgba(0,0,0,.7);color:#fff;cursor:pointer;display:none;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.custom-big-table .bigTable-qr-span:hover>span{display:inline-flex}.custom-big-table .base-form{align-items:center;display:flex;overflow:hidden!important;width:100%}.custom-big-table .base-form-content{width:100%}.custom-big-table textarea{height:32px;margin-bottom:0;resize:none}.custom-big-table .formItem-select-multiple{align-items:center;display:flex;line-height:40px;width:100%}.custom-big-table.mt{height:calc(100% - 78px)!important;margin-top:26px}.custom-big-table.expand-padding .vxe-table .vxe-body--expanded-cell{padding-left:66px!important;padding-right:66px!important}.custom-big-table th.vxe-header--column{cursor:pointer}.custom-big-table .row-btn{margin-right:10px}.custom-big-table .vxe-table{transform:translateZ(0)}.custom-big-table .vxe-table .vxe-table--empty-content,.custom-big-table .vxe-table .vxe-table--empty-content>div{height:100%;width:100%}.custom-big-table .vxe-table .vxe-table--empty-content>div .no-data-tip{display:inline-flex}.custom-big-table .vxe-table .col--checkbox .vxe-cell,.custom-big-table .vxe-table .col--seq .vxe-cell{padding:0}.custom-big-table .vxe-table .col--checkbox .vxe-cell .vxe-checkbox--label,.custom-big-table .vxe-table .col--seq .vxe-cell .vxe-checkbox--label{padding-left:0}.custom-big-table .vxe-table .vxe-cell .vxe-tree-cell{height:100%}.custom-big-table .vxe-table .scan-multi-delete{color:#f06f64}.custom-big-table .vxe-table .vxe-table--header{background-color:#f2f2f2}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title{display:inline-flex;height:100%;line-height:unset;width:100%}.custom-big-table .vxe-table .vxe-table--header .col--checkbox .vxe-cell--title,.custom-big-table .vxe-table .vxe-table--header .col--seq .vxe-cell--title{display:inline-block}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:transparent;height:10px;width:10px}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#f2f2f2;border:3px dashed transparent;border-radius:0}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.custom-big-table .vxe-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.custom-big-table .vxe-table .vxe-cell--checkbox .vxe-checkbox--label{display:none}.custom-big-table .filter-box{align-items:center;display:flex;width:100%}.custom-big-table .filter-box .text-over-tooltip-components{max-width:calc(100% - 40px)}.custom-big-table .filter-box .vxe-filter--btn{border-right-color:#c0c4cc;border-top-color:#c0c4cc}.custom-big-table .filter-box .vxe-filter--btn.active{border-right-color:#35393c;border-top-color:#35393c}.custom-big-table .filter-box .vxe-filter--btn.checked{border-right-color:#5585f5;border-top-color:#5585f5}.custom-big-table .disabled-checked-tips{background:#fff;border:2px solid #ff1818;border-radius:50%;bottom:0;box-sizing:border-box;height:16px;margin-top:-8px;overflow:hidden;position:absolute;right:0;top:50%;width:16px}.custom-big-table .disabled-checked-tips:after{background-color:#ff1818;content:"";height:2px;left:0;position:absolute;top:0;transform:rotate(45deg);transform-origin:0 2px;width:16px}.custom-big-table .form-select-table .n-base-select-menu__empty{display:none}.custom-big-table .percent-wrap{align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center}.custom-big-table .percent-wrap .percent-value{line-height:1;margin-bottom:-4px;margin-top:4px}.custom-big-table .refresh{align-items:center;background-color:#fff;border-bottom-left-radius:14px;border-top-left-radius:14px;box-shadow:0 2px 4px 0 hsla(0,0%,42%,.13);color:#5585f5;cursor:pointer;display:flex;font-size:12px;height:27px;padding-left:14px;padding-right:14px;position:absolute;right:0;top:6px;z-index:1}.custom-big-table .refresh-row{margin-bottom:0;margin-left:3px}.custom-big-table .check-wrap{background:#ffffe9;display:flex;justify-content:center;line-height:26px;margin-top:-26px;position:absolute;width:100%}.custom-big-table .check-wrap .check-wrap-btn,.custom-big-table .check-wrap .check-wrap-title{color:#000;cursor:pointer;font-size:12px;margin-bottom:0}.custom-big-table .check-wrap .check-wrap-btn{color:#5585f5}.custom-big-table .domPropsInnerHTML-span{height:100%}.custom-big-table .domPropsInnerHTML-span img{display:inline-block;height:var(--tableImageHeight);width:var(--tableImageWidth)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom{background:var(--table-icon-color);box-shadow:0 2px 4px 0 var(--table-icon-shadow)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom,.custom-big-table .domPropsInnerHTML-span .icon-dot-red{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-red{background:red;box-shadow:0 2px 4px 0 rgba(255,0,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue{background:blue;box-shadow:0 2px 4px 0 rgba(0,0,255,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue,.custom-big-table .domPropsInnerHTML-span .icon-dot-green{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-green{background:green;box-shadow:0 2px 4px 0 rgba(0,128,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray{background:gray;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray,.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{background:#ff0;box-shadow:0 2px 4px 0 rgba(255,255,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{background:#36be8c;box-shadow:0 2px 4px 0 rgba(54,190,140,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu,.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu{background:#42d0f6;box-shadow:0 2px 4px 0 rgba(66,208,246,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-close{background:#718391;box-shadow:0 2px 4px 0 rgba(113,131,145,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit,.custom-big-table .domPropsInnerHTML-span .icon-dot-close{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit{background:#f4ba32;box-shadow:0 2px 4px 0 rgba(244,186,50,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-design{background:#927ce1;box-shadow:0 2px 4px 0 rgba(146,124,225,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-design,.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{background:#4eb0ef;box-shadow:0 2px 4px 0 rgba(78,176,239,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop-complete{background:#6381f9;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .vxe-table--render-default .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:4px 0 4px 0 rgba(0,0,0,.12)}.custom-big-table .vxe-table--render-default .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-4px 0 4px 0 rgba(0,0,0,.12)}.annotation-edit{align-items:center;color:#0067ee;cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:#ff9828}.annotation-edit__icon{align-items:center;display:inline-flex}.no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.no-data-tip>img{max-width:70%;width:260px}.no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.text-over-tooltip-components{display:inline-block;max-width:98%}.text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.svg-icon{fill:currentColor;height:1em;overflow:hidden;vertical-align:-.15em;width:1em}.vxe-header--column [annotation-hover-show=true]{visibility:hidden}.vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.big-table__annotationWrapper{align-items:center;display:inline-flex;width:20px}
|
|
@@ -19,7 +19,7 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
19
19
|
}, {
|
|
20
20
|
fieldsMapping: Record<string, string>;
|
|
21
21
|
selectOptions: Record<string, string>[];
|
|
22
|
-
emit: (event: "onSave" | "onClose", ...args: any[]) => void;
|
|
22
|
+
emit: (event: "onSave" | "onClose" | "reset", ...args: any[]) => void;
|
|
23
23
|
settingView: any;
|
|
24
24
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
25
25
|
fields: {
|
|
@@ -39,11 +39,11 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
39
39
|
default: boolean;
|
|
40
40
|
};
|
|
41
41
|
}>> & {
|
|
42
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
42
43
|
onOnSave?: ((...args: any[]) => any) | undefined;
|
|
43
44
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
44
45
|
}>>;
|
|
45
46
|
initFields: () => any[];
|
|
46
|
-
realityFields: import("vue").ComputedRef<any[]>;
|
|
47
47
|
state: {
|
|
48
48
|
spinning: boolean;
|
|
49
49
|
isCustomSearch: boolean;
|
|
@@ -62,7 +62,9 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
62
62
|
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
63
63
|
columnWidth: number;
|
|
64
64
|
editable: boolean;
|
|
65
|
+
editableDisable: boolean;
|
|
65
66
|
required: boolean;
|
|
67
|
+
requiredDisable: boolean;
|
|
66
68
|
hide: boolean;
|
|
67
69
|
}[];
|
|
68
70
|
widthShow: string;
|
|
@@ -80,7 +82,9 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
80
82
|
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
81
83
|
columnWidth: number;
|
|
82
84
|
editable: boolean;
|
|
85
|
+
editableDisable: boolean;
|
|
83
86
|
required: boolean;
|
|
87
|
+
requiredDisable: boolean;
|
|
84
88
|
hide: boolean;
|
|
85
89
|
}) => {
|
|
86
90
|
background: string | undefined;
|
|
@@ -105,9 +109,28 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
105
109
|
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
106
110
|
columnWidth: number;
|
|
107
111
|
editable: boolean;
|
|
112
|
+
editableDisable: boolean;
|
|
108
113
|
required: boolean;
|
|
114
|
+
requiredDisable: boolean;
|
|
109
115
|
hide: boolean;
|
|
110
116
|
}) => void;
|
|
117
|
+
isDisable: (item: {
|
|
118
|
+
[key: string]: any;
|
|
119
|
+
id: string;
|
|
120
|
+
name: string;
|
|
121
|
+
show: boolean;
|
|
122
|
+
sort: boolean;
|
|
123
|
+
title: string;
|
|
124
|
+
alias: string;
|
|
125
|
+
fixedShow: boolean;
|
|
126
|
+
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
127
|
+
columnWidth: number;
|
|
128
|
+
editable: boolean;
|
|
129
|
+
editableDisable: boolean;
|
|
130
|
+
required: boolean;
|
|
131
|
+
requiredDisable: boolean;
|
|
132
|
+
hide: boolean;
|
|
133
|
+
}, key: string) => any;
|
|
111
134
|
setWidth: () => void;
|
|
112
135
|
NButton: any;
|
|
113
136
|
NCheckbox: any;
|
|
@@ -189,7 +212,7 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
189
212
|
modelValue: unknown[];
|
|
190
213
|
componentData: Record<string, any>;
|
|
191
214
|
}>;
|
|
192
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSave" | "onClose")[], "onSave" | "onClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
215
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSave" | "onClose" | "reset")[], "onSave" | "onClose" | "reset", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
193
216
|
fields: {
|
|
194
217
|
type: import("vue").PropType<any[]>;
|
|
195
218
|
default: () => never[];
|
|
@@ -207,6 +230,7 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
207
230
|
default: boolean;
|
|
208
231
|
};
|
|
209
232
|
}>> & {
|
|
233
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
210
234
|
onOnSave?: ((...args: any[]) => any) | undefined;
|
|
211
235
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
212
236
|
}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref,
|
|
1
|
+
import { defineComponent, ref, reactive, watch, onMounted, openBlock, createElementBlock, normalizeStyle, createVNode, unref, withCtx, createElementVNode, normalizeClass, createCommentVNode, createBlock, toDisplayString, withDirectives, vShow, renderSlot, createTextVNode } from 'vue';
|
|
2
2
|
import { NSpin, NCheckbox, NTooltip, NSelect, NInput, NInputNumber, NButton } from 'naive-ui';
|
|
3
3
|
import Draggable from 'vuedraggable';
|
|
4
4
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.js';
|
|
@@ -78,7 +78,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
78
78
|
default: false
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
|
-
emits: ["onSave", "onClose"],
|
|
81
|
+
emits: ["onSave", "onClose", "reset"],
|
|
82
82
|
setup(__props, { expose, emit }) {
|
|
83
83
|
const props = __props;
|
|
84
84
|
const fieldsMapping = {
|
|
@@ -126,12 +126,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
126
126
|
});
|
|
127
127
|
return result;
|
|
128
128
|
}
|
|
129
|
-
const realityFields = computed(initFields);
|
|
130
129
|
const state = reactive({
|
|
131
130
|
spinning: false,
|
|
132
131
|
isCustomSearch: true,
|
|
133
132
|
clickItem: {},
|
|
134
|
-
fields:
|
|
133
|
+
fields: [],
|
|
135
134
|
widthShow: "10%",
|
|
136
135
|
widthLarge: "20%"
|
|
137
136
|
});
|
|
@@ -181,12 +180,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
181
180
|
};
|
|
182
181
|
function reset() {
|
|
183
182
|
state.fields = initFields();
|
|
183
|
+
emit("reset");
|
|
184
184
|
}
|
|
185
185
|
const calculateCheck = (key) => {
|
|
186
186
|
if (!state.fields.length)
|
|
187
187
|
return false;
|
|
188
188
|
return state.fields.every((i) => {
|
|
189
|
-
if (!Object.prototype.hasOwnProperty.call(i, key))
|
|
189
|
+
if (!Object.prototype.hasOwnProperty.call(i, key) || isDisable(i, key))
|
|
190
190
|
return true;
|
|
191
191
|
return i[key];
|
|
192
192
|
});
|
|
@@ -194,7 +194,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
194
194
|
const handleAllCheck = (e, key) => {
|
|
195
195
|
const value = e;
|
|
196
196
|
const data = state.fields.map((i) => {
|
|
197
|
-
if (Object.prototype.hasOwnProperty.call(i, key)) {
|
|
197
|
+
if (Object.prototype.hasOwnProperty.call(i, key) && !isDisable(i, key)) {
|
|
198
198
|
i[key] = value;
|
|
199
199
|
}
|
|
200
200
|
return i;
|
|
@@ -204,12 +204,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
204
204
|
const handleFieldClick = (item) => {
|
|
205
205
|
state.clickItem = item;
|
|
206
206
|
};
|
|
207
|
+
function isDisable(item, key) {
|
|
208
|
+
return ["editable", "required"].includes(key) && item[`${key}Disable`];
|
|
209
|
+
}
|
|
207
210
|
function setWidth() {
|
|
208
211
|
if (props.isEdit) {
|
|
209
212
|
state.widthShow = "9%";
|
|
210
213
|
state.widthLarge = "15%";
|
|
211
214
|
}
|
|
212
215
|
}
|
|
216
|
+
watch(() => props.fields, (value) => {
|
|
217
|
+
if ((value == null ? void 0 : value.length) > 0) {
|
|
218
|
+
state.fields = initFields();
|
|
219
|
+
}
|
|
220
|
+
}, { immediate: true, deep: true });
|
|
213
221
|
onMounted(() => {
|
|
214
222
|
hideTab();
|
|
215
223
|
setWidth();
|
|
@@ -328,18 +336,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
328
336
|
createCommentVNode(" \u662F\u5426\u53EF\u7F16\u8F91 "),
|
|
329
337
|
__props.isEdit ? (openBlock(), createElementBlock("span", _hoisted_22, [
|
|
330
338
|
withDirectives(createVNode(unref(NCheckbox), {
|
|
339
|
+
disabled: element.editableDisable,
|
|
331
340
|
checked: element.editable,
|
|
332
341
|
"onUpdate:checked": ($event) => element.editable = $event
|
|
333
|
-
}, null, 8, ["checked", "onUpdate:checked"]), [
|
|
342
|
+
}, null, 8, ["disabled", "checked", "onUpdate:checked"]), [
|
|
334
343
|
[vShow, element.id != "0001"]
|
|
335
344
|
])
|
|
336
345
|
])) : createCommentVNode("v-if", true),
|
|
337
346
|
createCommentVNode(" \u662F\u5426\u5FC5\u586B "),
|
|
338
347
|
__props.isEdit ? (openBlock(), createElementBlock("span", _hoisted_23, [
|
|
339
348
|
withDirectives(createVNode(unref(NCheckbox), {
|
|
349
|
+
disabled: element.requiredDisable,
|
|
340
350
|
checked: element.required,
|
|
341
351
|
"onUpdate:checked": ($event) => element.required = $event
|
|
342
|
-
}, null, 8, ["checked", "onUpdate:checked"]), [
|
|
352
|
+
}, null, 8, ["disabled", "checked", "onUpdate:checked"]), [
|
|
343
353
|
[vShow, element.id != "0001"]
|
|
344
354
|
])
|
|
345
355
|
])) : createCommentVNode("v-if", true),
|
|
@@ -10,7 +10,9 @@ declare type Ifields = {
|
|
|
10
10
|
fixedWay: 'NONE' | 'LEFT' | 'RIGHT';
|
|
11
11
|
columnWidth: number;
|
|
12
12
|
editable: boolean;
|
|
13
|
+
editableDisable: boolean;
|
|
13
14
|
required: boolean;
|
|
15
|
+
requiredDisable: boolean;
|
|
14
16
|
hide: boolean;
|
|
15
17
|
[key: string]: any;
|
|
16
18
|
};
|
|
@@ -44,7 +46,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
46
|
}, {
|
|
45
47
|
fieldsMapping: Record<string, string>;
|
|
46
48
|
selectOptions: Record<string, string>[];
|
|
47
|
-
emit: (event: "onSave" | "onClose", ...args: any[]) => void;
|
|
49
|
+
emit: (event: "onSave" | "onClose" | "reset", ...args: any[]) => void;
|
|
48
50
|
settingView: any;
|
|
49
51
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
50
52
|
fields: {
|
|
@@ -64,11 +66,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
66
|
default: boolean;
|
|
65
67
|
};
|
|
66
68
|
}>> & {
|
|
69
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
67
70
|
onOnSave?: ((...args: any[]) => any) | undefined;
|
|
68
71
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
69
72
|
}>>;
|
|
70
73
|
initFields: () => any[];
|
|
71
|
-
realityFields: import("vue").ComputedRef<any[]>;
|
|
72
74
|
state: Istate;
|
|
73
75
|
leftStyle: (ele: Ifields) => {
|
|
74
76
|
background: string | undefined;
|
|
@@ -82,6 +84,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
84
|
calculateCheck: (key: string) => boolean;
|
|
83
85
|
handleAllCheck: (e: boolean, key: string) => void;
|
|
84
86
|
handleFieldClick: (item: Ifields) => void;
|
|
87
|
+
isDisable: (item: Ifields, key: string) => any;
|
|
85
88
|
setWidth: () => void;
|
|
86
89
|
NButton: any;
|
|
87
90
|
NCheckbox: any;
|
|
@@ -163,7 +166,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
163
166
|
modelValue: unknown[];
|
|
164
167
|
componentData: Record<string, any>;
|
|
165
168
|
}>;
|
|
166
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSave" | "onClose")[], "onSave" | "onClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
169
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSave" | "onClose" | "reset")[], "onSave" | "onClose" | "reset", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
167
170
|
fields: {
|
|
168
171
|
type: PropType<any[]>;
|
|
169
172
|
default: () => never[];
|
|
@@ -181,6 +184,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
181
184
|
default: boolean;
|
|
182
185
|
};
|
|
183
186
|
}>> & {
|
|
187
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
184
188
|
onOnSave?: ((...args: any[]) => any) | undefined;
|
|
185
189
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
186
190
|
}, {
|
|
@@ -21,6 +21,12 @@ function useFieldNormalize() {
|
|
|
21
21
|
FieldNormalizeWaterfallHook.tap("__age", (fieldItem) => {
|
|
22
22
|
if (fieldItem.html_type === "AGE") {
|
|
23
23
|
fieldItem.html_type = "INPUT_NUMBER";
|
|
24
|
+
fieldItem.reactions = {
|
|
25
|
+
target: fieldItem.val_key_unit,
|
|
26
|
+
fulfill: {
|
|
27
|
+
state: { disabled: "{{$self.disabled}}" }
|
|
28
|
+
}
|
|
29
|
+
};
|
|
24
30
|
fieldItem.suffixConfig = [
|
|
25
31
|
{
|
|
26
32
|
validate: { obj_type: FIELD_BUSINESS_TYPE.AGE_UNIT },
|