@tongfun/tf-widget 0.1.8-beta → 0.1.9
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 +4 -1
- package/dist/css/chunk-9c7a8e06.920744ef.css +1 -0
- package/dist/css/{chunk-vendors.a16c4353.css → chunk-vendors.de967301.css} +1 -1
- package/dist/css/index.9f1afeaf.css +1 -0
- package/dist/js/chunk-9c7a8e06.ffff58b5.js +1 -0
- package/dist/js/chunk-vendors.45086d09.js +39 -0
- package/dist/js/index.a3b16e45.js +1 -0
- package/package/t-data-list/index.js +6 -0
- package/package/t-data-list/main.vue +192 -0
- package/package/t-data-list/src/condition-input/basic.vue +31 -0
- package/package/t-data-list/src/condition-input/date.vue +106 -0
- package/package/t-data-list/src/condition-input/index.vue +100 -0
- package/package/t-data-list/src/condition-input/input.vue +31 -0
- package/package/t-data-list/src/condition-input/number.vue +115 -0
- package/package/t-data-list/src/condition-input/select.vue +86 -0
- package/package/t-data-list/src/js/fieldTypeEnum.js +10 -0
- package/package/t-data-list/src/js/operatorEnum.js +109 -0
- package/package/t-data-list/src/js/qureyParamsEnum.js +4 -0
- package/package/t-data-list/src/js/util.js +34 -0
- package/package/t-data-list/src/mixins/button-controll-mixin.js +77 -0
- package/package/t-data-list/src/pushdown/push-down.vue +158 -0
- package/package/t-data-list/src/t-list-search.vue +32 -0
- package/package/t-data-list/src/t-plan/condition-always-item.vue +143 -0
- package/package/t-data-list/src/t-plan/condition-mult-item.vue +222 -0
- package/package/t-data-list/src/t-plan/index.vue +190 -0
- package/package/t-data-list/src/t-plan/plan-content.vue +396 -0
- package/package/t-data-list/src/t-table/index.vue +120 -0
- package/package/t-data-list/src/t-table/table-group-item-edit.vue +238 -0
- package/package/t-data-list/src/t-table/table-group-item.vue +87 -0
- package/package/t-data-list/src/t-table/table-group.vue +179 -0
- package/package/t-data-list/src/t-table/table-records-header-popover.vue +250 -0
- package/package/t-data-list/src/t-table/table-records-selected.vue +159 -0
- package/package/t-data-list/src/t-table/table-records.vue +324 -0
- package/package/t-input/children/address.vue +101 -0
- package/package/t-input/children/basic-display.vue +41 -0
- package/package/t-input/children/basic.vue +251 -0
- package/package/t-input/children/date.vue +89 -0
- package/package/t-input/children/group-components/group-dialog.vue +350 -0
- package/package/t-input/children/group.vue +126 -0
- package/package/t-input/children/input.vue +72 -0
- package/package/t-input/children/number.vue +74 -0
- package/package/t-input/children/select.vue +89 -0
- package/package/t-input/children/tfile/fiile-enclosure.vue +233 -0
- package/package/t-input/children/tfile/file-img/comp.png +0 -0
- package/package/t-input/children/tfile/file-img/excel.png +0 -0
- package/package/t-input/children/tfile/file-img/img.png +0 -0
- package/package/t-input/children/tfile/file-img/pdf.png +0 -0
- package/package/t-input/children/tfile/file-img/word.png +0 -0
- package/package/t-input/index.js +7 -0
- package/package/t-input/index.vue +337 -0
- package/package/t-input/tInputCache.js +24 -0
- package/package/tf-layout/README.md +69 -2
- package/package/tf-layout/src/components/tf-labelbar.vue +90 -75
- package/package/tf-layout/src/components/tf-menu.vue +21 -8
- package/package/tf-layout/src/tf-layout.vue +18 -7
- package/package.json +4 -2
- package/src/api/file-enclosure.js +26 -0
- package/src/api/push-down.js +19 -0
- package/src/api/tableV3.js +186 -0
- package/src/index.js +8 -2
- package/src/mixins/t-data-query-mixin.js +289 -0
- package/dist/css/index.f35459d8.css +0 -1
- package/dist/js/chunk-vendors.c86d3e60.js +0 -41
- package/dist/js/index.36f35563.js +0 -1
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import request from '@/utils/request.js'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 列表数据
|
|
5
|
+
*/
|
|
6
|
+
// 获取列表的数据
|
|
7
|
+
export function getTableData (target, data, queryType) {
|
|
8
|
+
data.sceneSelector = queryType
|
|
9
|
+
return request({
|
|
10
|
+
url: `/api${target}/tList`,
|
|
11
|
+
method: 'post',
|
|
12
|
+
data
|
|
13
|
+
})
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// 获取列表的合计
|
|
17
|
+
export function getTableSum (target, data) {
|
|
18
|
+
data.sceneSelector = 'LIST'
|
|
19
|
+
return request({
|
|
20
|
+
url: `/api${target}/tSum`,
|
|
21
|
+
method: 'post',
|
|
22
|
+
data
|
|
23
|
+
})
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// 提交
|
|
27
|
+
export function submit (ids) {
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// 撤销
|
|
32
|
+
export function unSubmit (ids) {
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// 审批
|
|
37
|
+
export function audit (ids) {
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// 反审核
|
|
42
|
+
export function unAudit (ids) {
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// 删除数据
|
|
47
|
+
export function del ({ params, target }) {
|
|
48
|
+
return request({
|
|
49
|
+
url: `/api${target}/tDel`,
|
|
50
|
+
method: 'get',
|
|
51
|
+
params
|
|
52
|
+
})
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// todo:导入导出
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* 方案
|
|
59
|
+
*/
|
|
60
|
+
// 获取方案列表
|
|
61
|
+
export function getFilterPlan (target) {
|
|
62
|
+
return request({
|
|
63
|
+
url: `/api${target}/tSchemeQuery`,
|
|
64
|
+
method: 'get'
|
|
65
|
+
})
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// 添加一个新的方案
|
|
69
|
+
export function addPlan (target, data) {
|
|
70
|
+
return request({
|
|
71
|
+
url: `/api${target}/tSchemeSave`,
|
|
72
|
+
method: 'post',
|
|
73
|
+
data: {
|
|
74
|
+
commonUserQuerySchemeContentSaveDTOS: data.conditionMulti,
|
|
75
|
+
commonUserQuerySchemeUsefulSaveDTOS: data.conditionAlways,
|
|
76
|
+
commonUserQuerySchemeSaveDTO: data.planMsg
|
|
77
|
+
}
|
|
78
|
+
})
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// 删除一个方案
|
|
82
|
+
// todo:如果删除的是一个默认方案怎么办,还是说前端直接默认方案不允许删除
|
|
83
|
+
export function deletePlan (target, planId) {
|
|
84
|
+
return request({
|
|
85
|
+
url: `/api${target}/tSchemeDelete`,
|
|
86
|
+
method: 'post',
|
|
87
|
+
data: [planId]
|
|
88
|
+
})
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// 修改一个方案
|
|
92
|
+
export function updatePlan (target, data) {
|
|
93
|
+
return request({
|
|
94
|
+
url: `/api${target}/tSchemeUpdate`,
|
|
95
|
+
method: 'post',
|
|
96
|
+
data: {
|
|
97
|
+
userQuerySchemeContentUpdateDTOS: data.conditionMulti,
|
|
98
|
+
userQuerySchemeUsefulUpdateDTOS: data.conditionAlways,
|
|
99
|
+
userQuerySchemeUpdateDTO: data.planMsg
|
|
100
|
+
}
|
|
101
|
+
})
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// 获取方案中枚举的字段的选项
|
|
105
|
+
export function getEnumOptions (target, field) {
|
|
106
|
+
return request({
|
|
107
|
+
url: `/api${target}/tEnum`,
|
|
108
|
+
method: 'get',
|
|
109
|
+
params: {
|
|
110
|
+
field
|
|
111
|
+
}
|
|
112
|
+
})
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* 列表布局(方案高级条件的字段
|
|
117
|
+
*/
|
|
118
|
+
// 获取表格布局
|
|
119
|
+
export function getTableLayout (target) {
|
|
120
|
+
return request({
|
|
121
|
+
url: `/api${target}/tListHeader`,
|
|
122
|
+
method: 'get'
|
|
123
|
+
})
|
|
124
|
+
}
|
|
125
|
+
// 修改布局
|
|
126
|
+
export function updateTalbeLayout (data) {
|
|
127
|
+
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* 列表的分组查询
|
|
132
|
+
*/
|
|
133
|
+
export function getGroupTree (target) {
|
|
134
|
+
return request({
|
|
135
|
+
url: `/api${target}/tGroupQuery`,
|
|
136
|
+
method: 'get'
|
|
137
|
+
})
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// 添加一个分组节点
|
|
141
|
+
export function addGroupNode (target, name, id, pid, groupCode) {
|
|
142
|
+
return request({
|
|
143
|
+
url: `/api${target}/tGroupInsert`,
|
|
144
|
+
method: 'post',
|
|
145
|
+
data: {
|
|
146
|
+
name,
|
|
147
|
+
id: null,
|
|
148
|
+
pid,
|
|
149
|
+
groupCode
|
|
150
|
+
}
|
|
151
|
+
})
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// 删除一个分组节点
|
|
155
|
+
export function removeGroupNode (target, id) {
|
|
156
|
+
return request({
|
|
157
|
+
url: `/api${target}/tGroupDelete`,
|
|
158
|
+
method: 'post',
|
|
159
|
+
data: { id }
|
|
160
|
+
})
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// 修改一个分组节点
|
|
164
|
+
export function updateGroupNode (target, name, id, pid, groupCode) {
|
|
165
|
+
return request({
|
|
166
|
+
url: `/api${target}/tGroupUpdate`,
|
|
167
|
+
method: 'post',
|
|
168
|
+
data: {
|
|
169
|
+
name,
|
|
170
|
+
id,
|
|
171
|
+
pid,
|
|
172
|
+
groupCode
|
|
173
|
+
}
|
|
174
|
+
})
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export function pushDownValid (name, ids) {
|
|
178
|
+
return request({
|
|
179
|
+
url: '/api/report/billExchange/preHandle',
|
|
180
|
+
method: 'post',
|
|
181
|
+
data: {
|
|
182
|
+
name,
|
|
183
|
+
ids
|
|
184
|
+
}
|
|
185
|
+
})
|
|
186
|
+
}
|
package/src/index.js
CHANGED
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
import TfWidget from '../package/tf-widget'
|
|
3
3
|
import SvgIcon from '../package/svg-icon'
|
|
4
4
|
import TfLayout from '../package/tf-layout'
|
|
5
|
+
import TDataList from '../package/t-data-list'
|
|
6
|
+
import Tinput from '../package/t-input'
|
|
5
7
|
const components = [
|
|
6
8
|
TfWidget,
|
|
7
9
|
SvgIcon,
|
|
8
|
-
TfLayout
|
|
10
|
+
TfLayout,
|
|
11
|
+
TDataList,
|
|
12
|
+
Tinput
|
|
9
13
|
]
|
|
10
14
|
|
|
11
15
|
const install = function (Vue) {
|
|
@@ -18,5 +22,7 @@ export default {
|
|
|
18
22
|
install,
|
|
19
23
|
TfWidget,
|
|
20
24
|
SvgIcon,
|
|
21
|
-
TfLayout
|
|
25
|
+
TfLayout,
|
|
26
|
+
TDataList,
|
|
27
|
+
Tinput
|
|
22
28
|
}
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { getTableData, getTableSum, getTableLayout } from '@/api/tableV3.js'
|
|
2
|
+
import { getOperator } from '../../package/t-data-list/src/js/util'
|
|
3
|
+
export default {
|
|
4
|
+
data () {
|
|
5
|
+
return {
|
|
6
|
+
/**
|
|
7
|
+
* 通用过滤查询参数
|
|
8
|
+
*/
|
|
9
|
+
// 搜索建议和右上角全局搜索的快速搜索条件(因为接口进行了复用)
|
|
10
|
+
suggestFieldList: [],
|
|
11
|
+
// 搜索建议的高级条件
|
|
12
|
+
searchSuggestCondition: [],
|
|
13
|
+
// 方案切换的高级条件
|
|
14
|
+
queryPlanCondition: [],
|
|
15
|
+
|
|
16
|
+
// 数据查询接口的参数
|
|
17
|
+
query: {
|
|
18
|
+
// 常用条件
|
|
19
|
+
conditionAlwaysList: [],
|
|
20
|
+
// 分组条件
|
|
21
|
+
conditionGroup: null,
|
|
22
|
+
// 高级过滤条件
|
|
23
|
+
conditionMultiList: [],
|
|
24
|
+
// 表头的过滤条件
|
|
25
|
+
conditionQuickList: [],
|
|
26
|
+
// 分页条件
|
|
27
|
+
pageNum: 1,
|
|
28
|
+
pageSize: 200
|
|
29
|
+
},
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* 数据查询结果相关
|
|
33
|
+
*/
|
|
34
|
+
// 列表的字段信息(表头,可能包含了表头过滤的配置信息和其他的布局信息)
|
|
35
|
+
tableLayout: [],
|
|
36
|
+
// 列表数据
|
|
37
|
+
tableData: {
|
|
38
|
+
total: 1,
|
|
39
|
+
records: []
|
|
40
|
+
},
|
|
41
|
+
// 列表底部合计
|
|
42
|
+
tableSum: ['合计'],
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* 列表操作过程中使用组件变量
|
|
46
|
+
*/
|
|
47
|
+
// 被标记为id的字段,这个属性只在弹窗中才被使用
|
|
48
|
+
// 但是因为获取布局依赖了这个属性所以提取为公共属性,但是只有弹窗中才被使用
|
|
49
|
+
idField: null,
|
|
50
|
+
// 列表选中行的完整数据
|
|
51
|
+
selectedRows: [],
|
|
52
|
+
// 列表选中行的id数组
|
|
53
|
+
ids: [],
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* 通过provie传递全局数据
|
|
57
|
+
*/
|
|
58
|
+
syncData: {
|
|
59
|
+
displayField: '',
|
|
60
|
+
tableLoading: false,
|
|
61
|
+
tableSelectionClear: true // 表格数据刷新之后是否清空已选的标识
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
computed: {
|
|
66
|
+
/**
|
|
67
|
+
* 高级过滤条件由多个条件来源的数据拼凑而成,使用计算属性来达到缓存的目的
|
|
68
|
+
* 且无法确定需求上的变动是否需要动态让某个来源的条件消失,所以更改为计算属性
|
|
69
|
+
* 来源如下:
|
|
70
|
+
* 搜索建议和右上角复用搜索建议的接口的搜索框拼凑的高级过滤条件
|
|
71
|
+
* 来自限定搜索范围的条件生成的高级过滤条件
|
|
72
|
+
* 来自方案中填写点击查询按钮,或者进行切换方案的时候产生高级过滤条件
|
|
73
|
+
*/
|
|
74
|
+
multiCondition () {
|
|
75
|
+
const multiResult = []
|
|
76
|
+
// 拼接方案中的高级过滤条件
|
|
77
|
+
multiResult.push(...this.queryPlanCondition)
|
|
78
|
+
// 拼接限定查询的条件
|
|
79
|
+
multiResult.push(...this.limitationCondition)
|
|
80
|
+
|
|
81
|
+
// 搜索建议永远被拼接到最后面
|
|
82
|
+
// 并且在前面有条件的时候,将搜索建议的条件用双层括号整个进行包裹((a)(b))
|
|
83
|
+
// 避免后端sql 优先级问题导致结果不准确
|
|
84
|
+
const stillEmpty = multiResult.length === 0
|
|
85
|
+
this.searchSuggestCondition.forEach((item, index) => {
|
|
86
|
+
if (index === 0) {
|
|
87
|
+
item.leftBracket = stillEmpty ? '(' : '(('
|
|
88
|
+
}
|
|
89
|
+
if (index === multiResult.length - 1) {
|
|
90
|
+
item.rightBracket = stillEmpty ? ')' : '))'
|
|
91
|
+
}
|
|
92
|
+
})
|
|
93
|
+
multiResult.push(...this.searchSuggestCondition)
|
|
94
|
+
|
|
95
|
+
// 处理条件的排序的序号
|
|
96
|
+
multiResult.forEach((item, index) => {
|
|
97
|
+
item.sort = index
|
|
98
|
+
})
|
|
99
|
+
|
|
100
|
+
return multiResult
|
|
101
|
+
},
|
|
102
|
+
// 限定查询范围的条件
|
|
103
|
+
limitationCondition () {
|
|
104
|
+
if (!this.limitation) {
|
|
105
|
+
return []
|
|
106
|
+
}
|
|
107
|
+
const result = []
|
|
108
|
+
for (const key in this.limitation) {
|
|
109
|
+
const fieldItem = this.tableLayout.find(v => v.filed === key)
|
|
110
|
+
if (!fieldItem) continue
|
|
111
|
+
|
|
112
|
+
let value = ''
|
|
113
|
+
if (fieldItem.componentValueType === 'PARAM_BASIC') {
|
|
114
|
+
value = this.limitation[key].name
|
|
115
|
+
} else if (fieldItem.componentValueType === 'PARAM_ENUM') {
|
|
116
|
+
value = this.limitation[key].id
|
|
117
|
+
} else {
|
|
118
|
+
value = this.limitation[key]
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
value && result.push(this.createMultiCondition(fieldItem, value))
|
|
122
|
+
}
|
|
123
|
+
return result
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
provide () {
|
|
127
|
+
return {
|
|
128
|
+
getDbRow: this.getDbRow,
|
|
129
|
+
target: this.target,
|
|
130
|
+
enumOptionCache: {},
|
|
131
|
+
selectedRows: this.selectedRows,
|
|
132
|
+
ids: this.ids,
|
|
133
|
+
showSummary: this.queryType === 'LIST',
|
|
134
|
+
syncData: this.syncData,
|
|
135
|
+
queryType: this.queryType
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
methods: {
|
|
139
|
+
/**
|
|
140
|
+
* 获取表单的布局
|
|
141
|
+
*/
|
|
142
|
+
async getTableLayout () {
|
|
143
|
+
const res = await getTableLayout(this.target)
|
|
144
|
+
if (res.code !== 0) {
|
|
145
|
+
return this.$message.error(res.msg)
|
|
146
|
+
}
|
|
147
|
+
this.tableLayout = res.data.sort((a, b) => a.sort - b.sort)
|
|
148
|
+
this.suggestFieldList = res.data.filter(item => item.isSuggest)
|
|
149
|
+
this.displayField = this.syncData.displayField = res.data.find(item => item.isDisplayField)?.field
|
|
150
|
+
this.idField = res.data.find(item => item.isId).field
|
|
151
|
+
},
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* 列表数据
|
|
155
|
+
* 获取列表数据有三个地方进行调用
|
|
156
|
+
* 1 搜索建议: 场景为SELECTOR ,不获取合计
|
|
157
|
+
* 2 列表中数据查询:使场景为LIST, 获取合计
|
|
158
|
+
* 3 弹窗中数据: 场景为SELECTOR,不获取合计
|
|
159
|
+
*
|
|
160
|
+
* 关于是否获取合计,还有一层判断来自获取合计的借口对场景进行判断
|
|
161
|
+
* 此函数的判断只判断针对翻页页码变化这类不获取合计,至于弹窗中还是列表中的判断,在获取合计的借口中进行判断
|
|
162
|
+
*/
|
|
163
|
+
async getTableData (isSuggest = false, getSum = false) {
|
|
164
|
+
if (!isSuggest) {
|
|
165
|
+
this.syncData.tableLoading = true
|
|
166
|
+
}
|
|
167
|
+
const queryParams = !isSuggest
|
|
168
|
+
? JSON.parse(JSON.stringify(this.query))
|
|
169
|
+
: {
|
|
170
|
+
conditionAlwaysList: [],
|
|
171
|
+
conditionGroup: null,
|
|
172
|
+
conditionMultiList: [],
|
|
173
|
+
conditionQuickList: [],
|
|
174
|
+
pageNum: 1,
|
|
175
|
+
pageSize: 20
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
!this.disableSum && getSum && await this.getTableSum()
|
|
179
|
+
try {
|
|
180
|
+
// 查询数据之前赋值高级过滤条件
|
|
181
|
+
queryParams.conditionMultiList = this.multiCondition
|
|
182
|
+
const res = await getTableData(this.target, queryParams, this.queryType)
|
|
183
|
+
if (res.code !== 0) {
|
|
184
|
+
this.$message.error(res.msg)
|
|
185
|
+
this.syncData.tableSelectionClear = true
|
|
186
|
+
return !isSuggest ? undefined : []
|
|
187
|
+
}
|
|
188
|
+
if (isSuggest) {
|
|
189
|
+
return res.data.record
|
|
190
|
+
}
|
|
191
|
+
this.syncData.tableLoading = false
|
|
192
|
+
this.tableData.total = Number(res.data.total)
|
|
193
|
+
this.tableData.records = res.data.record
|
|
194
|
+
} catch (err) {
|
|
195
|
+
// 恢复成默认值
|
|
196
|
+
this.syncData.tableSelectionClear = true
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
// 表格数据合计
|
|
200
|
+
async getTableSum () {
|
|
201
|
+
// 只有列表中显示合计,
|
|
202
|
+
if (this.queryType !== 'LIST') {
|
|
203
|
+
return
|
|
204
|
+
}
|
|
205
|
+
const params = JSON.parse(JSON.stringify(this.query))
|
|
206
|
+
delete params.pageNum
|
|
207
|
+
delete params.pageSize
|
|
208
|
+
params.conditionMultiList = this.multiCondition
|
|
209
|
+
const res = await getTableSum(this.target, params)
|
|
210
|
+
if (res.code !== 0) {
|
|
211
|
+
return this.$message.error(res.msg)
|
|
212
|
+
}
|
|
213
|
+
// 没有合计的时候后端返回空对象,有数据该对象只有一个sum属性
|
|
214
|
+
if (!res.data.sum) {
|
|
215
|
+
return
|
|
216
|
+
}
|
|
217
|
+
const sumData = res.data.sum
|
|
218
|
+
const sumArr = ['合计']
|
|
219
|
+
const tableVisibleColumn = this.tableLayout.filter(item => item.visible)
|
|
220
|
+
for (const key in sumData) {
|
|
221
|
+
const index = tableVisibleColumn.findIndex(item => item.field === key)
|
|
222
|
+
sumArr[index + 1] = sumData[key]
|
|
223
|
+
}
|
|
224
|
+
this.tableSum = sumArr
|
|
225
|
+
},
|
|
226
|
+
/**
|
|
227
|
+
* 处理条件变更和重新获取数据的逻辑
|
|
228
|
+
* @param {boolean} queryString 用户输入的内容
|
|
229
|
+
* @param {boolean} isList 分为两个场景,1:列表和弹窗中输入框 2:弹窗未打开之前的如输入框中搜索建议
|
|
230
|
+
*/
|
|
231
|
+
// 基础资料搜索建议和列表页面右上角的搜索输入框的条件处理
|
|
232
|
+
handleSuggestMultiCondition (queryString, isList = true) {
|
|
233
|
+
const conditionMultiList = []
|
|
234
|
+
for (const item of this.suggestFieldList) {
|
|
235
|
+
conditionMultiList.push(this.createMultiCondition(item, queryString, false, false))
|
|
236
|
+
}
|
|
237
|
+
this.searchSuggestCondition = conditionMultiList
|
|
238
|
+
// todo: 列表和弹窗 还有一个子分类,弹窗不进行合计调用
|
|
239
|
+
!isList
|
|
240
|
+
? this.getTableData(true, false)
|
|
241
|
+
: this.queryType === 'LIST'
|
|
242
|
+
? this.getTableData(false, true)
|
|
243
|
+
: this.getTableData(false, false)
|
|
244
|
+
},
|
|
245
|
+
/**
|
|
246
|
+
* 创建一个高级过滤条件
|
|
247
|
+
* @param {object} fieldObj 后端传递给前端的列表布局中一个字段的配置信息
|
|
248
|
+
* @param {*} value 高级过滤条件字段
|
|
249
|
+
* @param {boolean} isStrict 条件是否是严格匹配 "等于" 否则采用模糊匹配 "包含"
|
|
250
|
+
* @param {boolean} isAndRelation and还是or sql中多个条件的分隔符号
|
|
251
|
+
* @returns
|
|
252
|
+
*/
|
|
253
|
+
createMultiCondition (fieldObj, value, isStrict = true, isAndRelation = true) {
|
|
254
|
+
// isSuggest
|
|
255
|
+
const relation = isAndRelation ? 'AND' : 'OR'
|
|
256
|
+
const operator = getOperator(fieldObj.componentValueType, isStrict)?.value
|
|
257
|
+
return {
|
|
258
|
+
leftBracket: '(',
|
|
259
|
+
field: fieldObj.field,
|
|
260
|
+
fieldType: fieldObj.componentType,
|
|
261
|
+
operator,
|
|
262
|
+
sort: '',
|
|
263
|
+
value,
|
|
264
|
+
rightBracket: ')',
|
|
265
|
+
relation
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
// 每页条数变化
|
|
269
|
+
handleSizeChange (newSize) {
|
|
270
|
+
this.query.pageSize = newSize
|
|
271
|
+
this.getTableData(false, false)
|
|
272
|
+
},
|
|
273
|
+
// 翻页
|
|
274
|
+
handleCurrentChange (newNum) {
|
|
275
|
+
this.query.pageNum = newNum
|
|
276
|
+
this.getTableData(false, false)
|
|
277
|
+
},
|
|
278
|
+
// 分组条件改变
|
|
279
|
+
handleGroupChange (group) {
|
|
280
|
+
this.query.conditionGroup = group
|
|
281
|
+
this.getTableData(false, true)
|
|
282
|
+
},
|
|
283
|
+
// 表头快捷过滤条件变更
|
|
284
|
+
handleHeadChange (newHeadCondition) {
|
|
285
|
+
this.query.conditionQuickList = newHeadCondition
|
|
286
|
+
this.getTableData(false, true)
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[data-v-01a7dee2] .el-input{width:10vw;margin-right:1vw}.svg-icon[data-v-443bcaf8]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.svg-external-icon[data-v-443bcaf8]{background-color:currentColor;-webkit-mask-size:cover!important;mask-size:cover!important;display:inline-block}.el-select-dropdown__item[data-v-dcacda94]{height:2.222vh;line-height:2.222vh;font-size:.625vw}.condition-filter-component[data-v-dcacda94]{height:2.222vh;display:flex;align-items:flex-start}.condition-filter-component .quick-filter[data-v-dcacda94]{height:100%;border-bottom:1px solid #dcdcdc}.condition-filter-component .quick-filter[data-v-dcacda94] .el-input__inner{height:calc(100% - 1px);border:none}.condition-filter-component .quick-filter[data-v-dcacda94] .el-input--prefix{height:100%;display:flex;font-size:.8vw}.condition-filter-component .quick-filter[data-v-dcacda94] .el-input__inner::-moz-placeholder{color:#999;font-size:.625vw}.condition-filter-component .quick-filter[data-v-dcacda94] .el-input__inner:-ms-input-placeholder{color:#999;font-size:.625vw}.condition-filter-component .quick-filter[data-v-dcacda94] .el-input__inner::placeholder{color:#999;font-size:.625vw}.condition-filter-component[data-v-dcacda94] .el-input{height:100%;display:flex}.condition-filter-component[data-v-dcacda94] .el-input__suffix{display:flex;align-items:center}.condition-filter-component[data-v-dcacda94] .el-icon-arrow-up:before{font-size:.625vw}.condition-filter-component[data-v-dcacda94] .el-input__inner{height:2.222vh;font-size:.625vw}.condition-filter-component[data-v-dcacda94] .el-input__icon{height:2.222vh;line-height:2.222vh}.condition-filter-component .field-select[data-v-dcacda94]{margin-right:.1vh}.condition-filter-component .field-select[data-v-dcacda94] .el-input{width:8vw}.condition-filter-component .condition-select[data-v-dcacda94]{margin-right:.1vh}.condition-filter-component .condition-select[data-v-dcacda94] .el-input{width:6vw}.condition-filter-component .bracket-select[data-v-dcacda94]{margin-right:.1vh}.condition-filter-component .bracket-select[data-v-dcacda94] .el-input{width:6vw}.condition-filter-component .value-input[data-v-dcacda94]{width:5vw;margin-right:.1vh}.condition-filter-component .value-input[data-v-dcacda94] .el-input__inner{width:5vw}.condition-filter-component .single-line[data-v-dcacda94]{width:20vw;height:100%;display:flex}.condition-filter-component .single-line .el-select[data-v-dcacda94]:nth-child(2){margin:0 .5vw}.condition-filter-component .single-line .el-input[data-v-dcacda94]:last-child{margin-right:1vw}@media screen and (max-width:1920px){.condition-filter-component .single-line[data-v-dcacda94]{width:20vw}}@media screen and (max-width:1366px){.condition-filter-component .single-line[data-v-dcacda94]{width:20vw}}.condition-filter-component .multiple-lines[data-v-dcacda94]{z-index:999;border:1px solid #0261a4;border-radius:.9259vh;box-sizing:border-box;padding:1.3889vh;background:#fff}.condition-filter-component .multiple-lines .multiple-line[data-v-dcacda94]{height:2.222vh;margin-bottom:1vh;display:flex;align-items:center}.condition-filter-component .multiple-lines .multiple-line[data-v-dcacda94] .el-select{height:100%}.condition-filter-component .multiple-lines .remove-icon[data-v-dcacda94]{width:.625vw;height:.625vw;margin-left:10px;cursor:pointer}.condition-filter-component .multiple-lines .add-icon[data-v-dcacda94]{width:.625vw;height:.625vw;cursor:pointer}.condition-filter-component .button-group[data-v-dcacda94]{display:flex;align-items:center;margin-left:1.2vw}.condition-filter-component .button-group[data-v-dcacda94] .el-button--primary{width:3.5vw;height:2.2222vh;padding:0;background:#ecf5ff;border:1px solid #0c4c8e;border-radius:5px;font-size:.625vw;font-family:Source Han Sans SC,Source Han Sans SC-Normal;font-weight:400;text-align:center;color:#085497}.condition-filter-component .button-group[data-v-dcacda94] .el-button:nth-child(2){margin:0 .5vw}.condition-filter-component .button-group .push-down[data-v-dcacda94]{width:2vh;height:2vh;margin-left:.5vw;cursor:pointer}.condition-filter-component .button-group .up[data-v-dcacda94]{transform:rotate(-180deg);transition:all .5s}.condition-filter-component .button-group .down[data-v-dcacda94]{transition:all .5s}.pagination[data-v-32f13a90]{display:flex;justify-content:flex-end}.pagination .selected-total[data-v-32f13a90]{display:flex;align-items:center;color:#606266;font-size:13px}.pagination .selected-total span[data-v-32f13a90]{margin-left:20px;margin-right:20px;text-decoration:underline}.table-control[data-v-27f30b99] .el-dialog{border-radius:.9259vh .9259vh 0 0}.table-control[data-v-27f30b99] .el-dialog /deep/ .el-dialog__header{background:#0261a4;color:#fff;border-radius:.9259vh .9259vh 0 0}.table-control .table-control-header[data-v-27f30b99]{height:3.7963vh;margin:0 auto;text-align:center}.table-control .table-control-header ul[data-v-27f30b99] :nth-child(odd){color:#0261a4;cursor:pointer}.table-control .table-control-header li[data-v-27f30b99]{display:inline;line-height:3.7963vh;margin:0 1.9444vh}.common-header-button[data-v-2a1aa530]{min-width:2.5vw;height:2.222vh;opacity:1;background:#0c4c8e;border-color:#0c4c8e;border-radius:2px;padding:0;margin-right:.4166vw}.common-header-button[data-v-2a1aa530] span{opacity:1;font-size:.625vw;font-family:Source Han Sans SC,Source Han Sans SC-Regular;font-weight:400;color:#fff}.common-header-button[data-v-2a1aa530]:focus,.common-header-button[data-v-2a1aa530]:hover{background:#0c4c8e;border-color:#0c4c8e}[data-v-2a1aa530] .el-button+.el-button{margin-left:0}.close[data-v-2a1aa530]{background-color:#e5e5e5;border-color:#e5e5e5}.close[data-v-2a1aa530] span{color:#666}.close[data-v-2a1aa530]:focus,.close[data-v-2a1aa530]:hover{background-color:#e5e5e5;color:#666;border-color:#e5e5e5}.common-header-drop-button[data-v-2a1aa530]{height:2.222vh;margin-right:.4166vw}.common-header-drop-button[data-v-2a1aa530] .el-button-group{height:100%;display:flex}.common-header-drop-button[data-v-2a1aa530] .el-button{width:2.5vw;height:2.222vh;opacity:1;background:#0c4c8e;padding:0;border-radius:2px 0 0 2px;border:1px solid #0c4c8e;margin-right:0}.common-header-drop-button[data-v-2a1aa530] span{font-size:.625vw;font-family:Source Han Sans SC,Source Han Sans SC-Regular}.common-header-drop-button[data-v-2a1aa530] .el-dropdown__caret-button{width:.625vw;height:2.222vh;background-color:#87a7c8;border-radius:0 2px 2px 0;padding:0;border:0 solid #87a7c8}.common-header-drop-button[data-v-2a1aa530] .el-dropdown__caret-button .el-dropdown__icon,.common-header-drop-button[data-v-2a1aa530] .el-dropdown__caret-button el-icon-arrow-down{margin:0}.common-header-drop-button[data-v-2a1aa530] .el-dropdown__caret-button:before{background-color:#87a7c8}.common-header-drop-button[data-v-2a1aa530] .el-dropdown__icon{width:.625vw;font-size:.625vw}.common-header-drop-button-more[data-v-2a1aa530] .el-button{width:3.5vw}.common-header-drop-button-more[data-v-2a1aa530] .el-dropdown__caret-button{width:.625vw}.common-table[data-v-2a1aa530] .elx-header--row .elx-header--column:first-child .elx-cell{width:63px!important;height:3.2407vh!important}.common-table[data-v-2a1aa530] .elx-table--header{color:#085497;font-size:.7291vw;background:#edf0f5;border-radius:4px 4px 0 0}.common-table[data-v-2a1aa530] .elx-table--header .elx-cell{width:100%!important;padding:0}.common-table[data-v-2a1aa530] .elx-table--header .elx-cell .elx-cell--title{width:100%!important}.common-table[data-v-2a1aa530] .elx-body--column,.common-table[data-v-2a1aa530] .elx-header--column{font-weight:400;height:3.2407vh!important;background-image:none!important}.common-table[data-v-2a1aa530] .elx-body--column{border-top:1px solid #e0eafc;border-right:1px solid #e0eafc;font-size:.625vw;color:#666}.common-table[data-v-2a1aa530] .elx-body--row .elx-body--column:first-child{border-left:1px solid #e0eafc}.common-table[data-v-2a1aa530] .elx-body--row:last-child .elx-body--column{border-bottom:1px solid #e0eafc}.common-table[data-v-2a1aa530] .row--current{background:#eff7ff}.common-table[data-v-2a1aa530] .elx-table--body-wrapper{background:#fff;height:70vh}@media screen and (max-width:1366px){.common-table[data-v-2a1aa530] .elx-table--body-wrapper{height:65vh}}.common-table[data-v-2a1aa530] .elx-table--footer-wrapper,.common-table[data-v-2a1aa530] .fixed-right--wrapper{border:none}.common-table[data-v-2a1aa530] .elx-footer--column{background-image:none!important}.common-table[data-v-2a1aa530] .elx-footer--row td{height:3.2407vh!important}.common-table[data-v-2a1aa530] .el-icon-setting:before{font-size:1.0416vw}.common-table[data-v-2a1aa530] .el-table__fixed-right{height:100%!important}.common-table[data-v-2a1aa530] .el-table__fixed{height:110px!important}.common-table[data-v-2a1aa530] .elx-table--fixed-right-wrapper.scrolling--middle{box-shadow:none}[data-v-2a1aa530] .el-dialog__body{height:50vh;overflow:auto;padding:1vh 1vw;box-sizing:border-box}[data-v-2a1aa530] .el-dialog__body .picture-warp,[data-v-2a1aa530] .el-dialog__body .picture-warp .el-carousel{height:100%}[data-v-2a1aa530] .el-dialog__body .picture-warp .el-carousel .el-carousel__container,[data-v-2a1aa530] .el-dialog__body .picture-warp .el-carousel .el-carousel__item{height:100%!important}[data-v-2a1aa530] .el-dialog__body .picture-warp .el-carousel .el-carousel__item>div{height:100%!important;display:flex;justify-content:center}[data-v-2a1aa530] .el-button{width:2.5vw;height:2.222vh;opacity:1;background:#0c4c8e;color:#fff;padding:0;border-radius:2px 0 0 2px;border:1px solid #0c4c8e;margin-right:0}.button-sure[data-v-2a1aa530]{margin-left:1vw!important}.common-header-button[data-v-68f0d83b]{min-width:2.5vw;height:2.222vh;opacity:1;background:#0c4c8e;border-color:#0c4c8e;border-radius:2px;padding:0;margin-right:.4166vw}.common-header-button[data-v-68f0d83b] span{opacity:1;font-size:.625vw;font-family:Source Han Sans SC,Source Han Sans SC-Regular;font-weight:400;color:#fff}.common-header-button[data-v-68f0d83b]:focus,.common-header-button[data-v-68f0d83b]:hover{background:#0c4c8e;border-color:#0c4c8e}[data-v-68f0d83b] .el-button+.el-button{margin-left:0}.close[data-v-68f0d83b]{background-color:#e5e5e5;border-color:#e5e5e5}.close[data-v-68f0d83b] span{color:#666}.close[data-v-68f0d83b]:focus,.close[data-v-68f0d83b]:hover{background-color:#e5e5e5;color:#666;border-color:#e5e5e5}.common-header-drop-button[data-v-68f0d83b]{height:2.222vh;margin-right:.4166vw}.common-header-drop-button[data-v-68f0d83b] .el-button-group{height:100%;display:flex}.common-header-drop-button[data-v-68f0d83b] .el-button{width:2.5vw;height:2.222vh;opacity:1;background:#0c4c8e;padding:0;border-radius:2px 0 0 2px;border:1px solid #0c4c8e;margin-right:0}.common-header-drop-button[data-v-68f0d83b] span{font-size:.625vw;font-family:Source Han Sans SC,Source Han Sans SC-Regular}.common-header-drop-button[data-v-68f0d83b] .el-dropdown__caret-button{width:.625vw;height:2.222vh;background-color:#87a7c8;border-radius:0 2px 2px 0;padding:0;border:0 solid #87a7c8}.common-header-drop-button[data-v-68f0d83b] .el-dropdown__caret-button .el-dropdown__icon,.common-header-drop-button[data-v-68f0d83b] .el-dropdown__caret-button el-icon-arrow-down{margin:0}.common-header-drop-button[data-v-68f0d83b] .el-dropdown__caret-button:before{background-color:#87a7c8}.common-header-drop-button[data-v-68f0d83b] .el-dropdown__icon{width:.625vw;font-size:.625vw}.common-header-drop-button-more[data-v-68f0d83b] .el-button{width:3.5vw}.common-header-drop-button-more[data-v-68f0d83b] .el-dropdown__caret-button{width:.625vw}.common-table[data-v-68f0d83b] .elx-header--row .elx-header--column:first-child .elx-cell{width:63px!important;height:3.2407vh!important}.common-table[data-v-68f0d83b] .elx-table--header{color:#085497;font-size:.7291vw;background:#edf0f5;border-radius:4px 4px 0 0}.common-table[data-v-68f0d83b] .elx-table--header .elx-cell{width:100%!important;padding:0}.common-table[data-v-68f0d83b] .elx-table--header .elx-cell .elx-cell--title{width:100%!important}.common-table[data-v-68f0d83b] .elx-body--column,.common-table[data-v-68f0d83b] .elx-header--column{font-weight:400;height:3.2407vh!important;background-image:none!important}.common-table[data-v-68f0d83b] .elx-body--column{border-top:1px solid #e0eafc;border-right:1px solid #e0eafc;font-size:.625vw;color:#666}.common-table[data-v-68f0d83b] .elx-body--row .elx-body--column:first-child{border-left:1px solid #e0eafc}.common-table[data-v-68f0d83b] .elx-body--row:last-child .elx-body--column{border-bottom:1px solid #e0eafc}.common-table[data-v-68f0d83b] .row--current{background:#eff7ff}.common-table[data-v-68f0d83b] .elx-table--body-wrapper{background:#fff;height:70vh}@media screen and (max-width:1366px){.common-table[data-v-68f0d83b] .elx-table--body-wrapper{height:65vh}}.common-table[data-v-68f0d83b] .elx-table--footer-wrapper,.common-table[data-v-68f0d83b] .fixed-right--wrapper{border:none}.common-table[data-v-68f0d83b] .elx-footer--column{background-image:none!important}.common-table[data-v-68f0d83b] .elx-footer--row td{height:3.2407vh!important}.common-table[data-v-68f0d83b] .el-icon-setting:before{font-size:1.0416vw}.common-table[data-v-68f0d83b] .el-table__fixed-right{height:100%!important}.common-table[data-v-68f0d83b] .el-table__fixed{height:110px!important}.common-table[data-v-68f0d83b] .elx-table--fixed-right-wrapper.scrolling--middle{box-shadow:none}.common-table-main[data-v-68f0d83b]{height:100%}.common-table-main>div[data-v-68f0d83b]:first-child{margin-bottom:.5vh}.common-table-main>div[data-v-68f0d83b]:first-child .el-tag{margin-right:.2vw;height:3vh;line-height:3vh}.common-header-filter[data-v-68f0d83b]{position:relative}.common-header-filter .popover[data-v-68f0d83b]{position:absolute;right:2px;bottom:0}.common-table-pagination[data-v-68f0d83b]{margin-top:-.5vh;height:8vh}.common-table-pagination[data-v-68f0d83b] .pagination{height:8vh}.common-table-pagination[data-v-68f0d83b] .pagination .el-pagination{padding:0}.common-table-pagination[data-v-68f0d83b] .pagination .btn-next,.common-table-pagination[data-v-68f0d83b] .pagination .btn-prev,.common-table-pagination[data-v-68f0d83b] .pagination .el-pager,.common-table-pagination[data-v-68f0d83b] .pagination .el-pager li,.common-table-pagination[data-v-68f0d83b] .pagination .el-pagination__sizes,.common-table-pagination[data-v-68f0d83b] .pagination .el-pagination__total{height:8vh;line-height:8vh}.common-table-pagination[data-v-68f0d83b] .pagination .el-select__caret{display:flex;align-items:center;justify-content:center}.common-table-pagination[data-v-68f0d83b] .pagination .el-pagination__editor{height:8vh;line-height:8vh}.el-popover .popover-input[data-v-68f0d83b] .el-input__inner{height:3vh;margin-bottom:1vh}.el-popover .popover-input[data-v-68f0d83b] .el-input__suffix{height:3vh}.el-popover .el-checkbox[data-v-68f0d83b]{display:block!important}.el-popover .header-filter[data-v-68f0d83b]{height:12vh}.el-popover .header-filter[data-v-68f0d83b] .el-scrollbar .el-scrollbar__wrap{overflow-x:hidden}.main-container[data-v-d35f55a2]{height:70vh;margin:0 1.3541vw 0 1.3541vw;background:#fff;border-radius:10px}.main-container .strength-data-header[data-v-d35f55a2]{min-height:3.2vh;background:#fff;border-radius:4px 4px 0 0;padding:10px 0}.main-container .strength-data-header>div[data-v-d35f55a2]:first-child{display:flex;justify-content:flex-start}.main-container .strength-data-header .header-input[data-v-d35f55a2]{min-width:2.5vw;height:2.222vh;opacity:1;background:#0c4c8e;border-color:#0c4c8e;border-radius:2px;padding:0;margin-right:.4166vw}.main-container .strength-data-header .header-input[data-v-d35f55a2] span{opacity:1;font-size:.625vw;font-family:Source Han Sans SC,Source Han Sans SC-Regular;font-weight:400;color:#fff}.main-container .strength-data-header .strength-data-header-middle[data-v-d35f55a2]{margin-top:1vh;margin-bottom:1vh;display:flex;align-items:center}.main-container .strength-data-header .strength-data-header-middle .filter[data-v-d35f55a2]{margin-left:auto}.main-container .strength-data-body[data-v-d35f55a2]{height:60vh}.main-container .strength-data-body[data-v-d35f55a2] .elx-table--body-wrapper{max-height:50vh}@media screen and (max-width:1920px){.main-container .strength-data-body[data-v-d35f55a2] .elx-table--body-wrapper{max-height:46vh}}.main-container[data-v-d35f55a2] .common-table-pagination{bottom:4vh;right:1vw}.main-container[data-v-d35f55a2] .common-table-pagination .el-pagination{display:flex;align-items:center}.main-container[data-v-d35f55a2] .common-table-pagination .el-pagination .el-input__inner{height:28px!important;border:1px solid #dcdfe6!important;text-align:center!important}.main-container[data-v-d35f55a2] .common-table-pagination .el-pagination .el-pagination__jump,.main-container[data-v-d35f55a2] .common-table-pagination .el-pagination .el-pagination__sizes{height:100%;display:flex;align-items:center}.main-container[data-v-d35f55a2] .common-table-pagination .el-pagination .el-pager{display:flex}@media screen and (max-width:1500px){.main-container[data-v-d35f55a2] .common-table-pagination{bottom:4vh}}.main-container[data-v-d35f55a2] .el-pagination__editor{display:flex;align-items:center}.main-container[data-v-d35f55a2] .group-filter-header{overflow-y:hidden}.strength-data-header[data-v-d35f55a2] .el-button--primary{background:#1890ff}.common-header-button[data-v-93f16fe8]{min-width:2.5vw;height:2.222vh;opacity:1;background:#0c4c8e;border-color:#0c4c8e;border-radius:2px;padding:0;margin-right:.4166vw}.common-header-button[data-v-93f16fe8] span{opacity:1;font-size:.625vw;font-family:Source Han Sans SC,Source Han Sans SC-Regular;font-weight:400;color:#fff}.common-header-button[data-v-93f16fe8]:focus,.common-header-button[data-v-93f16fe8]:hover{background:#0c4c8e;border-color:#0c4c8e}[data-v-93f16fe8] .el-button+.el-button{margin-left:0}.close[data-v-93f16fe8]{background-color:#e5e5e5;border-color:#e5e5e5}.close[data-v-93f16fe8] span{color:#666}.close[data-v-93f16fe8]:focus,.close[data-v-93f16fe8]:hover{background-color:#e5e5e5;color:#666;border-color:#e5e5e5}.common-header-drop-button[data-v-93f16fe8]{height:2.222vh;margin-right:.4166vw}.common-header-drop-button[data-v-93f16fe8] .el-button-group{height:100%;display:flex}.common-header-drop-button[data-v-93f16fe8] .el-button{width:2.5vw;height:2.222vh;opacity:1;background:#0c4c8e;padding:0;border-radius:2px 0 0 2px;border:1px solid #0c4c8e;margin-right:0}.common-header-drop-button[data-v-93f16fe8] span{font-size:.625vw;font-family:Source Han Sans SC,Source Han Sans SC-Regular}.common-header-drop-button[data-v-93f16fe8] .el-dropdown__caret-button{width:.625vw;height:2.222vh;background-color:#87a7c8;border-radius:0 2px 2px 0;padding:0;border:0 solid #87a7c8}.common-header-drop-button[data-v-93f16fe8] .el-dropdown__caret-button .el-dropdown__icon,.common-header-drop-button[data-v-93f16fe8] .el-dropdown__caret-button el-icon-arrow-down{margin:0}.common-header-drop-button[data-v-93f16fe8] .el-dropdown__caret-button:before{background-color:#87a7c8}.common-header-drop-button[data-v-93f16fe8] .el-dropdown__icon{width:.625vw;font-size:.625vw}.common-header-drop-button-more[data-v-93f16fe8] .el-button{width:3.5vw}.common-header-drop-button-more[data-v-93f16fe8] .el-dropdown__caret-button{width:.625vw}.common-table[data-v-93f16fe8] .elx-header--row .elx-header--column:first-child .elx-cell{width:63px!important;height:3.2407vh!important}.common-table[data-v-93f16fe8] .elx-table--header{color:#085497;font-size:.7291vw;background:#edf0f5;border-radius:4px 4px 0 0}.common-table[data-v-93f16fe8] .elx-table--header .elx-cell{width:100%!important;padding:0}.common-table[data-v-93f16fe8] .elx-table--header .elx-cell .elx-cell--title{width:100%!important}.common-table[data-v-93f16fe8] .elx-body--column,.common-table[data-v-93f16fe8] .elx-header--column{font-weight:400;height:3.2407vh!important;background-image:none!important}.common-table[data-v-93f16fe8] .elx-body--column{border-top:1px solid #e0eafc;border-right:1px solid #e0eafc;font-size:.625vw;color:#666}.common-table[data-v-93f16fe8] .elx-body--row .elx-body--column:first-child{border-left:1px solid #e0eafc}.common-table[data-v-93f16fe8] .elx-body--row:last-child .elx-body--column{border-bottom:1px solid #e0eafc}.common-table[data-v-93f16fe8] .row--current{background:#eff7ff}.common-table[data-v-93f16fe8] .elx-table--body-wrapper{background:#fff;height:70vh}@media screen and (max-width:1366px){.common-table[data-v-93f16fe8] .elx-table--body-wrapper{height:65vh}}.common-table[data-v-93f16fe8] .elx-table--footer-wrapper,.common-table[data-v-93f16fe8] .fixed-right--wrapper{border:none}.common-table[data-v-93f16fe8] .elx-footer--column{background-image:none!important}.common-table[data-v-93f16fe8] .elx-footer--row td{height:3.2407vh!important}.common-table[data-v-93f16fe8] .el-icon-setting:before{font-size:1.0416vw}.common-table[data-v-93f16fe8] .el-table__fixed-right{height:100%!important}.common-table[data-v-93f16fe8] .el-table__fixed{height:110px!important}.common-table[data-v-93f16fe8] .elx-table--fixed-right-wrapper.scrolling--middle{box-shadow:none}[data-v-93f16fe8] .el-input__inner[disabled=disabled],[data-v-93f16fe8] .el-textarea__inner[disabled=disabled]{background:#f0f0f5;border-color:#f0f0f5}.el-autocomplete[data-v-93f16fe8]{display:block}.el-autocomplete[data-v-93f16fe8] .el-input__inner{width:100%;border:none;border-bottom:1px solid #dcdcdc;border-radius:0}[data-v-93f16fe8] .el-input__suffix{display:flex;align-items:center}[data-v-93f16fe8] .el-dialog__body{padding:0 10px}[data-v-93f16fe8] .el-dialog__wrapper{overflow:hidden}[data-v-93f16fe8] .el-dialog__footer{padding-bottom:5px}[data-v-93f16fe8] .el-dialog__footer .el-button{width:2.5vw;height:2.222vh;border-radius:2px;padding:0;margin-left:0;margin-right:.4166vw}[data-v-93f16fe8] .el-dialog__footer .el-button ::v-deep span{opacity:1;font-size:.625vw;font-family:Source Han Sans SC,Source Han Sans SC-Regular;font-weight:400;color:#fff}[data-v-5054444c] .el-input__inner[disabled=disabled],[data-v-5054444c] .el-textarea__inner[disabled=disabled]{background:#f0f0f5;border-color:#f0f0f5}[data-v-5054444c] .el-input__inner{width:100%;border:none;border-bottom:1px solid #dcdcdc;padding-left:15px!important;border-radius:0;box-sizing:border-box}[data-v-5054444c] .el-icon-date{background-size:20px}[data-v-5054444c] .el-icon-date:before{content:"\e78e";font-size:16px;position:absolute;left:760%!important}[data-v-f60fc35c] .el-input__inner[disabled=disabled],[data-v-f60fc35c] .el-textarea__inner[disabled=disabled]{background:#f0f0f5;border-color:#f0f0f5}[data-v-f60fc35c] .el-input__inner{width:100%;border:none;border-bottom:1px solid #dcdcdc;border-radius:0}[data-v-539c8c38] .el-input__inner[disabled=disabled],[data-v-539c8c38] .el-textarea__inner[disabled=disabled]{background:#f0f0f5;border-color:#f0f0f5}[data-v-539c8c38] .el-textarea__inner{width:100%;height:100%}[data-v-67d01e4d] .el-input__inner[disabled=disabled],[data-v-67d01e4d] .el-textarea__inner[disabled=disabled]{background:#f0f0f5;border-color:#f0f0f5}[data-v-67d01e4d] .el-input__inner{width:100%;border:none;border-bottom:1px solid #dcdcdc;border-radius:0}[data-v-4540e454] .el-input__inner[disabled=disabled],[data-v-4540e454] .el-textarea__inner[disabled=disabled]{background:#f0f0f5;border-color:#f0f0f5}.decimal[data-v-4540e454]{width:100%;display:flex;align-items:center;position:relative}.decimal[data-v-4540e454] .el-input{height:100%}.decimal[data-v-4540e454] .el-input-number{width:100%}.decimal[data-v-4540e454] .el-input__inner{width:100%;border:none;border-bottom:1px solid #dcdcdc;border-radius:0;text-align:left}[data-v-3c30bdfe] .el-input__inner[disabled=disabled],[data-v-3c30bdfe] .el-textarea__inner[disabled=disabled]{background:#f0f0f5;border-color:#f0f0f5}.integer[data-v-3c30bdfe]{width:100%;display:flex;align-items:center;position:relative}.integer[data-v-3c30bdfe] .el-input-number{width:100%}.integer[data-v-3c30bdfe] .el-input__inner{text-align:left}.integer[data-v-3c30bdfe] .el-input__inner,[data-v-1969f36c] .el-input__inner{width:100%;border:none;border-bottom:1px solid #dcdcdc;border-radius:0}[data-v-5814805c] .el-input__inner[disabled=disabled],[data-v-5814805c] .el-textarea__inner[disabled=disabled]{background:#f0f0f5;border-color:#f0f0f5}[data-v-5814805c] .el-input__inner{width:100%;border:none;border-bottom:1px solid #dcdcdc;border-radius:0}[data-v-5814805c] .el-icon-time{background-size:20px}[data-v-5814805c] .el-icon-time:before{content:"\e71f";font-size:16px;position:absolute;left:760%!important}.small-picture[data-v-a693d82a] .el-button--mini{background-color:#0c4c8e;border-color:#0c4c8e;color:#fff;margin-right:2px}.small-picture .close[data-v-a693d82a]{background:#e5e5e5;color:#666;margin-right:1.95vw}.small-picture[data-v-a693d82a] .el-dialog__body{padding-top:0}.small-picture .dialog-footer[data-v-a693d82a]{display:flex;justify-content:center}.small-picture[data-v-a693d82a] .el-upload-list__item{transition:none!important}.small-picture[data-v-a693d82a] .el-upload-list--picture{max-height:30vh;overflow:auto;padding:0 1vw;box-sizing:border-box}.small-picture[data-v-a693d82a] .el-upload-list__item-name{cursor:pointer}.small-picture[data-v-a693d82a] .el-upload-list--picture::-webkit-scrollbar{width:10px;height:10px}.small-picture[data-v-a693d82a] .el-upload-list--picture::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.05);border-radius:10px}.small-picture[data-v-a693d82a] .el-upload-list--picture:hover::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.2);border-radius:10px}.small-picture[data-v-a693d82a] .el-upload-list--picture::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.4)}.small-picture[data-v-a693d82a] .el-upload-list--picture::-webkit-scrollbar-track{border-radius:10px;background-color:#fff}.small-picture[data-v-a693d82a] .el-upload-list--picture::-webkit-scrollbar-track:hover{background-color:rgba(0,0,0,.01)}
|