doway-coms 2.11.2 → 2.11.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "2.11.2",
3
+ "version": "2.11.3",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -1252,39 +1252,6 @@ export default {
1252
1252
  } catch (err) {
1253
1253
  console.debug(err)
1254
1254
  }
1255
- if (this.showSeq) {
1256
- this.internalColumns.push(
1257
- // {
1258
- // children: [
1259
- {
1260
- type: 'seq',
1261
- fixed: 'left',
1262
- width: 50,
1263
- slots: {
1264
- header: 'seqHeader',
1265
- },
1266
- params: {
1267
- disableUserVisible: true,
1268
- },
1269
- }
1270
- // ],
1271
- // slots: {
1272
- // header: 'seqHeader'
1273
- // }
1274
- // }
1275
- )
1276
- }
1277
-
1278
- if (this.showCheckBox) {
1279
- this.internalColumns.push({
1280
- type: 'checkbox',
1281
- fixed: 'left',
1282
- width: 40,
1283
- params: {
1284
- disableUserVisible: true,
1285
- },
1286
- })
1287
- }
1288
1255
  //拖动后输入框有错位问题,暂时不启用
1289
1256
  // this.initColumnDrop()
1290
1257
  for (let i = 0; i < this.columns.length; i++) {
@@ -1313,6 +1280,39 @@ export default {
1313
1280
  //设置筛选过滤条件
1314
1281
  this.setFilterExpression(this.internalColumns)
1315
1282
  }
1283
+ //注意,不能移到上面添加,会出现布局问题,暂时不知道什么原因????
1284
+ if (this.showCheckBox) {
1285
+ this.internalColumns.unshift({
1286
+ type: 'checkbox',
1287
+ fixed: 'left',
1288
+ width: 40,
1289
+ params: {
1290
+ disableUserVisible: true,
1291
+ },
1292
+ })
1293
+ }
1294
+ if (this.showSeq) {
1295
+ this.internalColumns.unshift(
1296
+ // {
1297
+ // children: [
1298
+ {
1299
+ type: 'seq',
1300
+ fixed: 'left',
1301
+ width: 50,
1302
+ slots: {
1303
+ header: 'seqHeader',
1304
+ },
1305
+ params: {
1306
+ disableUserVisible: true,
1307
+ },
1308
+ }
1309
+ // ],
1310
+ // slots: {
1311
+ // header: 'seqHeader'
1312
+ // }
1313
+ // }
1314
+ )
1315
+ }
1316
1316
 
1317
1317
 
1318
1318
  this.gridEdit = this.edit