1
|
|
-import { BasicColumn, FormSchema } from '/@/components/Table';
|
|
1
|
+import { FormSchema } from '/@/components/Table';
|
2
|
2
|
import { getOrganizationList } from '/@/api/system/system';
|
3
|
3
|
import { copyTransFun } from '/@/utils/fnUtils';
|
4
|
4
|
import { FileItem } from '/@/components/Form/src/components/ApiUpload.vue';
|
...
|
...
|
@@ -17,53 +17,6 @@ export enum ConfigurationPermission { |
17
|
17
|
PREVIEW = 'api:yt:dataview:center:get_configuration_info:preview',
|
18
|
18
|
}
|
19
|
19
|
|
20
|
|
-export const PC_DEFAULT_CONTENT =
|
21
|
|
- '<mxfile><diagram>dZHBDsIgDIafhvuEzOh5Tr142sEzGXWQsHVhmKFP7xbAidMT5fv/UtoSVrTuZHgvLyhAE5oJR9iBUMrybT4dM3l4stnTzJPGKBHYAir1hACj7a4EDInRImqr+hTW2HVQ24RxY3BMbTfUadWeN7ACVc31ml6VsPK7jVk4g2pkLJ3tgtLy6A5gkFzg+IFYSVhhEK2PWleAnscXB+Pzjn/U988MdPZHwhQsb0+XZEesfAE=</diagram></mxfile>';
|
22
|
|
-
|
23
|
|
-export const PHONE_DEFAULT_CONTENT =
|
24
|
|
- '<mxfile><diagram>dZHBEoIgEEC/hru6lXU2q0snD50Z2YQZdB2k0fr6dMCMsU4sb9+ysDDI6uFseCuvJFCzJBIDgyNLkjjdw7hM5OnIYRc5UBklvLSAQr3Qw1l7KIFdIFoibVUbwpKaBksbMG4M9aF2Jx12bXmFK1CUXK/pTQkrHd3E24VfUFXSd04hdYmaz65/SCe5oP4LQc4gM0TWRfWQoZ5mN4/F1Z3+ZD/3MtjYHwVjsJw9boIPgvwN</diagram></mxfile>';
|
25
|
|
-// 表格列数据
|
26
|
|
-export const columns: BasicColumn[] = [
|
27
|
|
- {
|
28
|
|
- title: '组态名称',
|
29
|
|
- dataIndex: 'name',
|
30
|
|
- width: 120,
|
31
|
|
- },
|
32
|
|
- {
|
33
|
|
- title: '所属组织',
|
34
|
|
- dataIndex: 'organizationDTO.name',
|
35
|
|
- width: 160,
|
36
|
|
- },
|
37
|
|
- {
|
38
|
|
- title: '平台',
|
39
|
|
- dataIndex: 'platform',
|
40
|
|
- width: 100,
|
41
|
|
- slots: { customRender: 'platform' },
|
42
|
|
- },
|
43
|
|
- {
|
44
|
|
- title: '备注',
|
45
|
|
- dataIndex: 'remark',
|
46
|
|
- width: 200,
|
47
|
|
- },
|
48
|
|
- {
|
49
|
|
- title: '创建时间',
|
50
|
|
- dataIndex: 'createTime',
|
51
|
|
- width: 120,
|
52
|
|
- },
|
53
|
|
- {
|
54
|
|
- title: '更新时间',
|
55
|
|
- dataIndex: 'updateTime',
|
56
|
|
- width: 120,
|
57
|
|
- },
|
58
|
|
- {
|
59
|
|
- title: '操作',
|
60
|
|
- dataIndex: 'action',
|
61
|
|
- flag: 'ACTION',
|
62
|
|
- width: 260,
|
63
|
|
- slots: { customRender: 'action' },
|
64
|
|
- },
|
65
|
|
-];
|
66
|
|
-
|
67
|
20
|
// 查询字段
|
68
|
21
|
export const searchFormSchema: FormSchema[] = [
|
69
|
22
|
{
|
...
|
...
|
|