npmapps 1.0.7 → 1.0.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.
Files changed (39) hide show
  1. package/README.md +3 -1
  2. package/app/watchNginxConfig/node_modules/.package-lock.json +35 -0
  3. package/app/watchNginxConfig/node_modules/chokidar/LICENSE +21 -0
  4. package/app/watchNginxConfig/node_modules/chokidar/README.md +305 -0
  5. package/app/watchNginxConfig/node_modules/chokidar/esm/handler.d.ts +90 -0
  6. package/app/watchNginxConfig/node_modules/chokidar/esm/handler.js +629 -0
  7. package/app/watchNginxConfig/node_modules/chokidar/esm/index.d.ts +215 -0
  8. package/app/watchNginxConfig/node_modules/chokidar/esm/index.js +798 -0
  9. package/app/watchNginxConfig/node_modules/chokidar/esm/package.json +1 -0
  10. package/app/watchNginxConfig/node_modules/chokidar/handler.d.ts +90 -0
  11. package/app/watchNginxConfig/node_modules/chokidar/handler.js +635 -0
  12. package/app/watchNginxConfig/node_modules/chokidar/index.d.ts +215 -0
  13. package/app/watchNginxConfig/node_modules/chokidar/index.js +804 -0
  14. package/app/watchNginxConfig/node_modules/chokidar/package.json +69 -0
  15. package/app/watchNginxConfig/node_modules/readdirp/LICENSE +21 -0
  16. package/app/watchNginxConfig/node_modules/readdirp/README.md +120 -0
  17. package/app/watchNginxConfig/node_modules/readdirp/esm/index.d.ts +108 -0
  18. package/app/watchNginxConfig/node_modules/readdirp/esm/index.js +257 -0
  19. package/app/watchNginxConfig/node_modules/readdirp/esm/package.json +1 -0
  20. package/app/watchNginxConfig/node_modules/readdirp/index.d.ts +108 -0
  21. package/app/watchNginxConfig/node_modules/readdirp/index.js +263 -0
  22. package/app/watchNginxConfig/node_modules/readdirp/package.json +70 -0
  23. package/app/watchNginxConfig/package-lock.json +40 -0
  24. package/app/watchNginxConfig/package.json +5 -0
  25. package/app/watchNginxConfig/start_nginx_watcher.bat +4 -0
  26. package/app/watchNginxConfig/watchNginxConfig.js +104 -0
  27. package/package.json +1 -1
  28. package/app/components/attendanceCycle/index.vue +0 -131
  29. package/app/components/attendanceGroup/index.vue +0 -147
  30. package/app/components/attendancePersonnel/index.vue +0 -158
  31. package/app/components/companyCalendar/index.vue +0 -147
  32. package/app/components/shift/index.vue +0 -147
  33. package/app/components/shiftRotationSystem/index.vue +0 -147
  34. package/app/employeeSchedulingManagement/batchScheduling/index.vue +0 -401
  35. package/app/employeeSchedulingManagement/batchShiftChange/index.vue +0 -204
  36. package/app/employeeSchedulingManagement/data.js +0 -768
  37. package/app/employeeSchedulingManagement/index.vue +0 -436
  38. package/app/employeeSchedulingManagement/shiftChangeRecord/index.vue +0 -250
  39. package/app/employeeSchedulingManagement/shiftItem.vue +0 -107
@@ -1,107 +0,0 @@
1
- <template>
2
- <div>
3
- <div
4
- @dblclick="handleShowInput"
5
- v-if="!showInput && !!shiftColorComputed"
6
- :class="{tag: true}"
7
- :style="`background-color: ${shiftColorComputed.color};`"
8
- >
9
- {{ shiftColorComputed.font }}
10
- </div>
11
- <el-select
12
- v-model="value"
13
- placeholder="请选择"
14
- v-if="showInput"
15
- @change="handleChange"
16
- >
17
- <el-option
18
- v-for="item in shiftColor"
19
- :key="item.shiftId"
20
- :label="item.shiftName"
21
- :value="item.shiftId"
22
- >
23
- </el-option>
24
- </el-select>
25
- </div>
26
- </template>
27
- <script>
28
- export default {
29
- props: {
30
- scope: {
31
- type: Object,
32
- default: () => {},
33
- },
34
- shiftColor: {
35
- type: Array,
36
- default: () => [],
37
- },
38
- options: {
39
- type: Array,
40
- default: () => [],
41
- },
42
- isShiftChange: {
43
- type: Boolean,
44
- default: false,
45
- },
46
- columnItem: {
47
- type: Object,
48
- default: () => {},
49
- },
50
- },
51
- data() {
52
- return {
53
- value: "",
54
- showInput: false,
55
- };
56
- },
57
- watch: {
58
- isShiftChange(val) {
59
- if (!val) {
60
- this.showInput = false;
61
- }
62
- },
63
- },
64
- computed: {
65
- shiftColorComputed() {
66
- const { row, column } = this.scope;
67
- const property = column.property || "";
68
- const list = property.split("_") || [];
69
- const key = list[1];
70
- let shiftId;
71
- if (key && row.shiftPlanDetails[key]) {
72
- shiftId = row.shiftPlanDetails[key].shiftId;
73
- this.value = shiftId;
74
- const sc = this.shiftColor.find((item) => item.shiftId === shiftId);
75
- if (sc) return sc;
76
- }
77
- return "";
78
- },
79
- },
80
- methods: {
81
- handleChange() {
82
- const { row, column } = this.scope;
83
- const property = column.property || "";
84
- const list = property.split("_") || [];
85
- const key = list[1];
86
- if (key && row.shiftPlanDetails[key]) {
87
- row.shiftPlanDetails[key].shiftId = this.value;
88
- }
89
- this.showInput = false;
90
- },
91
- handleShiftColor({ row, column }, keyName) {
92
-
93
- },
94
- handleShowInput() {
95
- if (this.isShiftChange && this.columnItem.editFlag !== "0")
96
- this.showInput = true;
97
- },
98
- },
99
- };
100
- </script>
101
-
102
- <style scoped>
103
-
104
- .hide {
105
- display: none !important;
106
- }
107
- </style>