doway-coms 1.1.80 → 1.1.82

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/.browserslistrc CHANGED
@@ -1,2 +1,2 @@
1
- > 1%
2
- last 2 versions
1
+ > 1%
2
+ last 2 versions
package/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # doway-coms
2
-
3
- ## Project setup
4
- ```
5
- npm install
6
- ```
7
-
8
- ### Compiles and hot-reloads for development
9
- ```
10
- npm run serve
11
- ```
12
-
13
- ### Compiles and minifies for production
14
- ```
15
- npm run build
16
- ```
17
-
18
- ### Lints and fixes files
19
- ```
20
- npm run lint
21
- ```
22
-
23
- ### Customize configuration
24
- See [Configuration Reference](https://cli.vuejs.org/config/).
1
+ # doway-coms
2
+
3
+ ## Project setup
4
+ ```
5
+ npm install
6
+ ```
7
+
8
+ ### Compiles and hot-reloads for development
9
+ ```
10
+ npm run serve
11
+ ```
12
+
13
+ ### Compiles and minifies for production
14
+ ```
15
+ npm run build
16
+ ```
17
+
18
+ ### Lints and fixes files
19
+ ```
20
+ npm run lint
21
+ ```
22
+
23
+ ### Customize configuration
24
+ See [Configuration Reference](https://cli.vuejs.org/config/).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "1.1.80",
3
+ "version": "1.1.82",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -225,7 +225,7 @@
225
225
  >
226
226
  </template>
227
227
  <template #operation_edit="scope">
228
- <div class="interceptor-class">
228
+ <div>
229
229
  <a-button
230
230
  type="link"
231
231
  @click="operationButtonClick(item, scope)"
@@ -309,12 +309,12 @@
309
309
  <a-input-number
310
310
  :precision="0"
311
311
  size="small"
312
- v-model:value="loopFilterValue.value[0]"
312
+ v-model="loopFilterValue.value[0]"
313
313
  />~
314
314
  <a-input-number
315
315
  :precision="0"
316
316
  size="small"
317
- v-model:value="loopFilterValue.value[1]"
317
+ v-model="loopFilterValue.value[1]"
318
318
  />
319
319
  </div>
320
320
  <a-button @click="filterAddExp(scope.column)">添加条件</a-button>
@@ -323,17 +323,31 @@
323
323
  </template>
324
324
  <template #select_filter="scope">
325
325
  <div class="interceptor-class">
326
- <a-checkbox-group
327
- v-model="scope.column.filters[0].data.displayValues"
326
+ <!-- <a-checkbox-group v-model="scope.column.filters[0].data.displayValues">-->
327
+ <!-- <a-checkbox-->
328
+ <!-- v-for="loopData in scope.column.params.dataSource"-->
329
+ <!-- :key="loopData.value"-->
330
+ <!-- :value="loopData.value"-->
331
+ <!-- >-->
332
+ <!-- {{ loopData.caption }}</a-checkbox-->
333
+ <!-- >-->
334
+ <!-- </a-checkbox-group>-->
335
+ <a-select
336
+ v-model="scope.column.filters[0].data.displayValues"
337
+ mode="multiple"
338
+ allowClear
339
+ style="width: 300px;"
340
+ placeholder="筛选条件"
341
+ showArrow
328
342
  >
329
- <a-checkbox
330
- v-for="loopData in scope.column.params.dataSource"
331
- :key="loopData.value"
332
- :value="loopData.value"
333
- >
334
- {{ loopData.caption }}</a-checkbox
343
+ <a-select-option
344
+ v-for="loopSource in scope.column.params.dataSource"
345
+ :key="loopSource.value"
346
+ :value="loopSource.value"
347
+ >{{ loopSource.caption }}</a-select-option
335
348
  >
336
- </a-checkbox-group>
349
+ </a-select>
350
+ <br>
337
351
  <a-button @click="filterConfirm(scope.column)">确认</a-button>
338
352
  </div>
339
353
  </template>
@@ -370,9 +384,9 @@
370
384
  v-model="loopFilterValue.value[1]"
371
385
  />
372
386
  </div>
387
+ <a-button @click="filterAddExp(scope.column)">添加条件</a-button>
388
+ <a-button @click="filterConfirm(scope.column)">确认</a-button>
373
389
  </div>
374
- <a-button @click="filterAddExp(scope.column)">添加条件</a-button>
375
- <a-button @click="filterConfirm(scope.column)">确认</a-button>
376
390
  </template>
377
391
  <template #date_filter="scope">
378
392
  <div class="interceptor-class">
@@ -395,9 +409,9 @@
395
409
  v-model="loopFilterValue.value[1]"
396
410
  />
397
411
  </div>
412
+ <a-button @click="filterAddExp(scope.column)">添加条件</a-button>
413
+ <a-button @click="filterConfirm(scope.column)">确认</a-button>
398
414
  </div>
399
- <a-button @click="filterAddExp(scope.column)">添加条件</a-button>
400
- <a-button @click="filterConfirm(scope.column)">确认</a-button>
401
415
  </template>
402
416
  </VxeGrid>
403
417
  <VxeModal
@@ -2394,82 +2408,95 @@ export default {
2394
2408
  }
2395
2409
  </style>
2396
2410
  <style lang="scss" scoped>
2397
- .base-grid-view .vxe-header--row .vxe-header--column.sortable-ghost,
2398
- .base-grid-view .vxe-header--row .vxe-header--column.sortable-chosen {
2399
- background-color: #dfecfb;
2400
- }
2401
- .base-grid-view .vxe-header--row .vxe-header--column.col--fixed {
2402
- cursor: no-drop;
2403
- }
2404
- .inner-cell-control {
2405
- width: 100% !important;
2406
- min-width: unset !important;
2407
- }
2408
- .input-box {
2409
- width: 100%;
2410
- border: 1px solid;
2411
- min-height: 24px;
2412
- border-radius: 4px;
2413
- border-color: rgb(217, 217, 217);
2414
- padding-left: 5px;
2415
- line-height: 24px !important;
2416
- }
2417
- .test_filter {
2418
- text-align: left;
2419
- // display: inline-block;
2420
- // width:90%
2421
- }
2422
- .test_filter_title {
2423
- margin-left: 2%;
2424
- }
2425
- /*滚动条整体部分*/
2426
- .base-grid-view ::-webkit-scrollbar {
2427
- width: 10px;
2428
- height: 10px;
2429
- z-index: 10;
2430
- }
2431
- /*滚动条的轨道*/
2432
- .base-grid-view ::-webkit-scrollbar-track {
2433
- background-color: #ffffff;
2434
- z-index: 10;
2435
- }
2436
- /*滚动条里面的小方块,能向上向下移动*/
2437
- .base-grid-view ::-webkit-scrollbar-thumb {
2438
- background-color: #bfbfbf;
2439
- border-radius: 5px;
2440
- border: 1px solid #f1f1f1;
2441
- box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
2442
- z-index: 10;
2443
- }
2444
- .base-grid-view ::-webkit-scrollbar-thumb:hover {
2445
- background-color: #a8a8a8;
2446
- z-index: 10;
2447
- }
2448
- .base-grid-view ::-webkit-scrollbar-thumb:active {
2449
- background-color: #787878;
2450
- z-index: 10;
2451
- }
2452
- /*边角,即两个滚动条的交汇处*/
2453
- .base-grid-view ::-webkit-scrollbar-corner {
2454
- background-color: #ffffff;
2455
- z-index: 10;
2456
- }
2457
- .draggableItem {
2458
- display: inline-block;
2459
- height: 100%;
2460
- line-height: 30px;
2461
- border: 1.3px solid #e8eaec;
2462
- margin: 0 !important;
2463
- margin: 0 10px;
2464
- // overflow: hidden;
2465
- // text-overflow: ellipsis;
2466
- // white-space: nowrap;
2467
- }
2468
- .sortable-column-demo .vxe-header--row .vxe-header--column.sortable-ghost,
2469
- .sortable-column-demo .vxe-header--row .vxe-header--column.sortable-chosen {
2470
- background-color: #dfecfb;
2471
- }
2472
- .sortable-column-demo .vxe-header--row .vxe-header--column.col--fixed {
2473
- cursor: no-drop;
2474
- }
2475
- </style>
2411
+ .base-grid-view .vxe-header--row .vxe-header--column.sortable-ghost,
2412
+ .base-grid-view .vxe-header--row .vxe-header--column.sortable-chosen {
2413
+ background-color: #dfecfb;
2414
+ }
2415
+ .base-grid-view .vxe-header--row .vxe-header--column.col--fixed {
2416
+ cursor: no-drop;
2417
+ }
2418
+ .inner-cell-control {
2419
+ width: 100% !important;
2420
+ min-width:unset!important;
2421
+ }
2422
+ .input-box {
2423
+ width: 100%;
2424
+ border: 1px solid;
2425
+ min-height: 24px;
2426
+ border-radius: 4px;
2427
+ border-color: rgb(217, 217, 217);
2428
+ padding-left: 5px;
2429
+ line-height: 24px !important;
2430
+ }
2431
+ .test_filter {
2432
+ text-align: left;
2433
+ // display: inline-block;
2434
+ // width:90%
2435
+ }
2436
+ .test_filter_title {
2437
+ margin-left: 2%;
2438
+ }
2439
+ /*滚动条整体部分*/
2440
+ .base-grid-view ::-webkit-scrollbar {
2441
+ width: 10px;
2442
+ height: 10px;
2443
+ z-index: 10;
2444
+ }
2445
+ /*滚动条的轨道*/
2446
+ .base-grid-view ::-webkit-scrollbar-track {
2447
+ background-color: #ffffff;
2448
+ z-index: 10;
2449
+ }
2450
+ /*滚动条里面的小方块,能向上向下移动*/
2451
+ .base-grid-view ::-webkit-scrollbar-thumb {
2452
+ background-color: #bfbfbf;
2453
+ border-radius: 5px;
2454
+ border: 1px solid #f1f1f1;
2455
+ box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
2456
+ z-index: 10;
2457
+ }
2458
+ .base-grid-view ::-webkit-scrollbar-thumb:hover {
2459
+ background-color: #a8a8a8;
2460
+ z-index: 10;
2461
+ }
2462
+ .base-grid-view ::-webkit-scrollbar-thumb:active {
2463
+ background-color: #787878;
2464
+ z-index: 10;
2465
+ }
2466
+ /*边角,即两个滚动条的交汇处*/
2467
+ .base-grid-view ::-webkit-scrollbar-corner {
2468
+ background-color: #ffffff;
2469
+ z-index: 10;
2470
+ }
2471
+ .draggableItem {
2472
+ display: inline-block;
2473
+ height: 100%;
2474
+ line-height: 30px;
2475
+ border: 1.3px solid #e8eaec;
2476
+ margin: 0 !important;
2477
+ margin: 0 10px;
2478
+ // overflow: hidden;
2479
+ // text-overflow: ellipsis;
2480
+ // white-space: nowrap;
2481
+ }
2482
+ .sortable-column-demo .vxe-header--row .vxe-header--column.sortable-ghost,
2483
+ .sortable-column-demo .vxe-header--row .vxe-header--column.sortable-chosen {
2484
+ background-color: #dfecfb;
2485
+ }
2486
+ .sortable-column-demo .vxe-header--row .vxe-header--column.col--fixed {
2487
+ cursor: no-drop;
2488
+ }
2489
+
2490
+ .interceptor-class {
2491
+ padding: 10px;
2492
+ ::v-deep .ant-btn {
2493
+ margin: 10px 10px 0;
2494
+ }
2495
+ ::v-deep .ant-input {
2496
+ margin-bottom: 5px;
2497
+ }
2498
+ ::v-deep .ant-calendar-picker {
2499
+ margin: 0 5px;
2500
+ }
2501
+ }
2502
+ </style>
@@ -12,7 +12,7 @@
12
12
  </template>
13
13
  <template #checkbox="{ column }">
14
14
  <a-checkbox
15
- v-model:checked="column.params.show"
15
+ v-model="column.params.show"
16
16
  @change="changeCheckbox(column)"
17
17
  ></a-checkbox>
18
18
  {{ column.title }}
@@ -16,11 +16,15 @@ export default new Vuex.Store({
16
16
  moduleViewInfo: {},
17
17
  controlSize: 'small',
18
18
  newId: 0,//明细新增id
19
+ userId: '',
19
20
  },
20
21
  mutations: {
21
22
  SET_TOKEN: (state, token) => {
22
23
  state.token = token
23
24
  },
25
+ SET_USERID: (state, userId) => {
26
+ state.userId = userId
27
+ },
24
28
  SET_INDUSTRY_VERSION:(state,industryVersion)=>{
25
29
  state.industryVersion = industryVersion
26
30
  },
@@ -109,6 +113,7 @@ export default new Vuex.Store({
109
113
  newId: state => () => {
110
114
  state.newId = state.newId + 1
111
115
  return state.newId
112
- }
116
+ },
117
+ userId: state => state.userId,
113
118
  }
114
119
  })