doway-coms 1.8.8 → 1.9.0
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/package.json +1 -1
- package/packages/BaseGrid/src/SeqSetting.vue +8 -1
- package/packages/BasePulldown/src/index.vue +1 -11
- package/dist/css/chunk-vendors.7f83d8f9.css +0 -8
- package/dist/css/index.86478f73.css +0 -3
- package/dist/favicon.ico +0 -0
- package/dist/js/chunk-vendors.307eaa8f.js +0 -347
- package/dist/js/index.48e7f7ac.js +0 -2
package/package.json
CHANGED
|
@@ -39,7 +39,13 @@
|
|
|
39
39
|
class="drag-row"
|
|
40
40
|
>
|
|
41
41
|
<div>{{ item.title }}</div>
|
|
42
|
-
<div style="margin-left: auto;"
|
|
42
|
+
<div style="margin-left: auto;">
|
|
43
|
+
<a-switch
|
|
44
|
+
:disabled="!item.sysVisible"
|
|
45
|
+
v-model="item.visible"
|
|
46
|
+
@change="onCheckboxChange(item)"
|
|
47
|
+
size="small"
|
|
48
|
+
/></div>
|
|
43
49
|
</div>
|
|
44
50
|
</div>
|
|
45
51
|
</div>
|
|
@@ -135,6 +141,7 @@ export default {
|
|
|
135
141
|
field: item.field,
|
|
136
142
|
title: item.title,
|
|
137
143
|
visible: item.visible,
|
|
144
|
+
sysVisible: item.params.sysVisible, // 系统隐藏字段不可操作
|
|
138
145
|
width: item.width,
|
|
139
146
|
filters: item.filters,
|
|
140
147
|
order: item.order,
|
|
@@ -900,7 +900,7 @@ export default {
|
|
|
900
900
|
})
|
|
901
901
|
}
|
|
902
902
|
// 若当前表格内只有一行,则不进行判断
|
|
903
|
-
if (vm.propTableData.length == 1
|
|
903
|
+
if (vm.propTableData.length == 1) {
|
|
904
904
|
return
|
|
905
905
|
}
|
|
906
906
|
// 设置字段sysRepeat后,所定字段的值全部相同则不可选择
|
|
@@ -944,7 +944,6 @@ export default {
|
|
|
944
944
|
} else {
|
|
945
945
|
tempArr.forEach((item) => {
|
|
946
946
|
// 接口字段可能和表字段field不一致,linkField一致
|
|
947
|
-
|
|
948
947
|
for (let j = 0; j < fieldNames.length; j++) {
|
|
949
948
|
if (
|
|
950
949
|
info[fieldNames[j].field] == item[fieldNames[j].linkField]
|
|
@@ -957,15 +956,6 @@ export default {
|
|
|
957
956
|
}
|
|
958
957
|
})
|
|
959
958
|
}
|
|
960
|
-
let repeatArr = []
|
|
961
|
-
for (let j = 0; j < fieldNames.length; j++) {
|
|
962
|
-
if (
|
|
963
|
-
this.row[fieldNames[j].linkField] ===
|
|
964
|
-
info[fieldNames[j].field]
|
|
965
|
-
) {
|
|
966
|
-
repeatArr.push(true)
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
959
|
if (repeatArr.length === fieldNames.length) {
|
|
970
960
|
info.sysRepeat = true
|
|
971
961
|
}
|