yahee-components 0.0.9 → 0.0.12
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/es/annex-upload/annex-upload.vue.js +6 -6
- package/es/api/server.js +29 -0
- package/es/api/tool.js +69 -0
- package/es/comprehensive-search/comprehensive-search.vue.js +10 -10
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +218 -0
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +4 -0
- package/es/country-platform-shop-condition/index.js +7 -0
- package/es/country-platform-shop-condition/style/index.css +48 -0
- package/es/drop-down-condition/drop-down-condition.vue.js +215 -0
- package/es/drop-down-condition/drop-down-condition.vue2.js +4 -0
- package/es/drop-down-condition/index.js +7 -0
- package/es/drop-down-condition/style/index.css +45 -0
- package/es/image-upload/image-upload.vue.js +125 -124
- package/es/index.js +28 -15
- package/es/installs.js +18 -10
- package/es/left-condition/index.js +7 -0
- package/es/left-condition/left-condition-sub.vue.js +95 -0
- package/es/left-condition/left-condition-sub.vue2.js +4 -0
- package/es/left-condition/left-condition.vue.js +214 -0
- package/es/left-condition/left-condition.vue2.js +4 -0
- package/es/left-condition/style/index.css +11 -0
- package/es/left-condition-enum/index.js +7 -0
- package/es/left-condition-enum/left-condition-enum.vue.js +76 -0
- package/es/left-condition-enum/left-condition-enum.vue2.js +4 -0
- package/es/left-condition-enum/style/index.css +0 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js +38 -0
- package/es/operation-log/operation-log-content.vue.js +6 -6
- package/es/operation-log/operation-log-form.vue.js +2 -2
- package/es/operation-log/operation-log-form.vue2.js +17 -17
- package/es/operation-log/operation-log.vue.js +50 -49
- package/es/packages/components/api/log/index.js +15 -0
- package/es/packages/components/api/log-server.js +17 -21
- package/es/packages/components/api/server.js +19 -0
- package/es/packages/components/api/tool.js +57 -0
- package/es/packages/components/api/{requestTools.js → upload-server.js} +13 -10
- package/es/packages/components/hooks/useClipboard.js +16 -14
- package/es/packages/components/hooks/useImport.js +14 -12
- package/es/packages/components/hooks/useUpload.js +9 -9
- package/es/static/CommonObject.js +4 -0
- package/es/style.css +81 -196
- package/es/utils/config.js +19 -0
- package/es/utils/const.js +19 -0
- package/es/utils/style.js +28 -0
- package/es/utils/translate.js +50 -31
- package/lib/country-platform-shop-condition/style/index.css +48 -0
- package/lib/drop-down-condition/style/index.css +45 -0
- package/lib/left-condition/style/index.css +11 -0
- package/lib/left-condition-enum/style/index.css +0 -0
- package/lib/style.css +81 -196
- package/package.json +1 -1
- package/types/hooks/useClipboard.d.ts +7 -0
- package/types/hooks/useImg.d.ts +10 -0
- package/types/hooks/useImgPath.d.ts +5 -0
- package/types/hooks/useImport.d.ts +11 -0
- package/types/hooks/useUpload.d.ts +12 -0
- package/types/index.d.ts +6 -1204
- package/types/src/annex-upload/annex-upload.d.ts +30 -0
- package/types/src/annex-upload/annex-upload.vue.d.ts +443 -0
- package/types/src/annex-upload/index.d.ts +123 -0
- package/types/src/annex-upload/mimeType.d.ts +2 -0
- package/types/src/api/server.d.ts +6 -0
- package/types/src/api/tool.d.ts +6 -0
- package/types/src/api/types.d.ts +17 -0
- package/types/src/components.d.ts +10 -0
- package/types/src/comprehensive-search/comprehensive-search.d.ts +12 -0
- package/types/src/comprehensive-search/comprehensive-search.vue.d.ts +33 -0
- package/types/src/comprehensive-search/index.d.ts +36 -0
- package/types/src/copy/copy.d.ts +12 -0
- package/types/src/copy/copy.vue.d.ts +21 -0
- package/types/src/copy/index.d.ts +32 -0
- package/types/src/country-platform-shop-condition/country-platform-shop-condition.d.ts +17 -0
- package/types/src/country-platform-shop-condition/country-platform-shop-condition.vue.d.ts +14 -0
- package/types/src/country-platform-shop-condition/index.d.ts +16 -0
- package/types/src/drop-down-condition/drop-down-condition.d.ts +6 -0
- package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +38 -0
- package/types/src/drop-down-condition/index.d.ts +40 -0
- package/types/src/image-upload/image-upload.d.ts +26 -0
- package/types/src/image-upload/image-upload.vue.d.ts +43 -0
- package/types/src/image-upload/index.d.ts +94 -0
- package/types/src/index.d.ts +7 -0
- package/types/src/input/index.d.ts +16 -0
- package/types/src/input/input.d.ts +18 -0
- package/types/src/input/input.vue.d.ts +14 -0
- package/types/src/installs.d.ts +535 -0
- package/types/src/left-condition/index.d.ts +69 -0
- package/types/src/left-condition/left-condition-sub.vue.d.ts +47 -0
- package/types/src/left-condition/left-condition.d.ts +5 -0
- package/types/src/left-condition/left-condition.vue.d.ts +68 -0
- package/types/src/left-condition-enum/index.d.ts +153 -0
- package/types/src/left-condition-enum/left-condition-enum.d.ts +5 -0
- package/types/src/left-condition-enum/left-condition-enum.vue.d.ts +151 -0
- package/types/src/operation-log/index.d.ts +9 -0
- package/types/src/operation-log/operation-log-content.vue.d.ts +24 -0
- package/types/src/operation-log/operation-log-dialog.vue.d.ts +39 -0
- package/types/src/operation-log/operation-log-form.vue.d.ts +19 -0
- package/types/src/operation-log/operation-log.d.ts +11 -0
- package/types/src/operation-log/operation-log.vue.d.ts +6 -0
- package/types/src/static/CommonObject.d.ts +18 -0
- package/types/src/static/CommonVariables.d.ts +4 -0
- package/types/src/utils/config.d.ts +8 -0
- package/types/src/utils/const.d.ts +19 -0
- package/types/src/utils/functions.d.ts +1 -0
- package/types/src/utils/install.d.ts +8 -0
- package/types/src/utils/storage.d.ts +18 -0
- package/types/src/utils/style.d.ts +19 -0
- package/types/src/utils/to-kebab-case.d.ts +1 -0
- package/types/src/utils/translate.d.ts +5 -0
- package/types/src/utils/typescript.d.ts +5 -0
- package/es/packages/components/api/remarkApi.js +0 -15
- package/es/packages/components/api/requestRemark.js +0 -47
- package/lib/_virtual/_commonjsHelpers.js +0 -1
- package/lib/_virtual/_plugin-vue_export-helper.js +0 -1
- package/lib/_virtual/dayjs.min.js +0 -1
- package/lib/_virtual/lodash.js +0 -1
- package/lib/annex-upload/annex-upload.vue.js +0 -1
- package/lib/annex-upload/annex-upload.vue2.js +0 -1
- package/lib/annex-upload/index.js +0 -1
- package/lib/annex-upload/mimeType.js +0 -1
- package/lib/comprehensive-search/comprehensive-search.vue.js +0 -1
- package/lib/comprehensive-search/comprehensive-search.vue2.js +0 -1
- package/lib/comprehensive-search/index.js +0 -1
- package/lib/copy/copy.vue.js +0 -1
- package/lib/copy/copy.vue2.js +0 -1
- package/lib/copy/index.js +0 -1
- package/lib/image-upload/image-upload.vue.js +0 -1
- package/lib/image-upload/image-upload.vue2.js +0 -1
- package/lib/image-upload/index.js +0 -1
- package/lib/index.js +0 -1
- package/lib/input/index.js +0 -1
- package/lib/input/input.vue.js +0 -1
- package/lib/input/input.vue2.js +0 -1
- package/lib/installs.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js +0 -3
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js +0 -2
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js +0 -2
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js +0 -2
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js +0 -1
- package/lib/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +0 -1
- package/lib/node_modules/.pnpm/element-plus@2.8.3_vue@3.5.4_typescript@5.6.2_/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -1
- package/lib/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js +0 -27
- package/lib/node_modules/.pnpm/v3-infinite-loading@1.3.2/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +0 -1
- package/lib/operation-log/index.js +0 -1
- package/lib/operation-log/operation-log-content.vue.js +0 -1
- package/lib/operation-log/operation-log-content.vue2.js +0 -1
- package/lib/operation-log/operation-log-dialog.vue.js +0 -1
- package/lib/operation-log/operation-log-dialog.vue2.js +0 -1
- package/lib/operation-log/operation-log-form.vue.js +0 -1
- package/lib/operation-log/operation-log-form.vue2.js +0 -1
- package/lib/operation-log/operation-log.vue.js +0 -1
- package/lib/operation-log/operation-log.vue2.js +0 -1
- package/lib/packages/components/api/log-server.js +0 -1
- package/lib/packages/components/api/remarkApi.js +0 -1
- package/lib/packages/components/api/requestRemark.js +0 -1
- package/lib/packages/components/api/requestTools.js +0 -1
- package/lib/packages/components/assets/images/errorimg.png.js +0 -1
- package/lib/packages/components/assets/images/excel.png.js +0 -1
- package/lib/packages/components/assets/images/file-word.png.js +0 -1
- package/lib/packages/components/assets/images/pdf.png.js +0 -1
- package/lib/packages/components/assets/images/ppt.png.js +0 -1
- package/lib/packages/components/assets/images/vue.svg.js +0 -1
- package/lib/packages/components/hooks/useClipboard.js +0 -1
- package/lib/packages/components/hooks/useImg.js +0 -1
- package/lib/packages/components/hooks/useImgPath.js +0 -1
- package/lib/packages/components/hooks/useImport.js +0 -1
- package/lib/packages/components/hooks/useUpload.js +0 -1
- package/lib/utils/install.js +0 -1
- package/lib/utils/storage.js +0 -1
- package/lib/utils/translate.js +0 -1
- /package/es/node_modules/.pnpm/{element-plus@2.8.3_vue@3.5.4_typescript@5.6.2_ → element-plus@2.8.3_vue@3.5.12_typescript@5.6.2_}/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -0
package/es/style.css
CHANGED
|
@@ -81,225 +81,110 @@
|
|
|
81
81
|
padding: 5px 11px;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
padding: 10px 4px;
|
|
90
|
-
}
|
|
91
|
-
.yahee-operation-log .infinite-list-wrapper .list-item-left {
|
|
92
|
-
display: flex;
|
|
93
|
-
justify-content: flex-start;
|
|
94
|
-
gap: 10px;
|
|
95
|
-
margin-bottom: 18px;
|
|
96
|
-
}
|
|
97
|
-
.yahee-operation-log .infinite-list-wrapper .list-item-left .date {
|
|
98
|
-
margin-top: 6px;
|
|
99
|
-
margin-left: 8px;
|
|
100
|
-
}
|
|
101
|
-
.yahee-operation-log .infinite-list-wrapper .list-item-left .name {
|
|
102
|
-
flex: none;
|
|
103
|
-
height: -moz-fit-content;
|
|
104
|
-
height: fit-content;
|
|
105
|
-
padding: 5px 8px;
|
|
106
|
-
text-align: center;
|
|
107
|
-
border-radius: 2px;
|
|
108
|
-
background: #E8FFE8;
|
|
109
|
-
}
|
|
110
|
-
.yahee-operation-log .infinite-list-wrapper .list-item-left .content {
|
|
111
|
-
border: 1px solid #ccc;
|
|
112
|
-
border-radius: 4px;
|
|
113
|
-
padding: 10px;
|
|
114
|
-
margin-left: -8px;
|
|
115
|
-
background: #F7FFF7;
|
|
116
|
-
}
|
|
117
|
-
.yahee-operation-log .infinite-list-wrapper .list-item-right {
|
|
118
|
-
display: flex;
|
|
119
|
-
justify-content: flex-end;
|
|
120
|
-
gap: 10px;
|
|
121
|
-
margin-bottom: 18px;
|
|
122
|
-
}
|
|
123
|
-
.yahee-operation-log .infinite-list-wrapper .list-item-right .date {
|
|
124
|
-
margin-top: 6px;
|
|
125
|
-
margin-right: 8px;
|
|
126
|
-
}
|
|
127
|
-
.yahee-operation-log .infinite-list-wrapper .list-item-right .name {
|
|
128
|
-
flex: none;
|
|
129
|
-
height: -moz-fit-content;
|
|
130
|
-
height: fit-content;
|
|
131
|
-
padding: 5px 8px;
|
|
132
|
-
text-align: center;
|
|
133
|
-
border-radius: 2px;
|
|
134
|
-
background: #f1f1f1;
|
|
84
|
+
:deep(.custom-button + .custom-button) {
|
|
85
|
+
margin-left: 5px;
|
|
86
|
+
margin-bottom: 5px;
|
|
87
|
+
position: relative;
|
|
88
|
+
top: 2px;
|
|
135
89
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
padding:
|
|
139
|
-
|
|
140
|
-
border: 1px solid #f1f1f1;
|
|
141
|
-
border-radius: 4px;
|
|
142
|
-
background: #FAFAFA;
|
|
90
|
+
|
|
91
|
+
:deep(.custom-button) {
|
|
92
|
+
padding: 1px 4px;
|
|
93
|
+
height: 22px;
|
|
143
94
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
95
|
+
|
|
96
|
+
.yahee-drop-down-condition {
|
|
97
|
+
/* 滚动槽 */
|
|
98
|
+
/* 滚动条滑块 */
|
|
147
99
|
}
|
|
148
|
-
.yahee-
|
|
100
|
+
.yahee-drop-down-condition .checkbox-group {
|
|
149
101
|
display: flex;
|
|
150
|
-
flex-
|
|
102
|
+
flex-direction: column;
|
|
151
103
|
}
|
|
152
|
-
.yahee-
|
|
153
|
-
margin:
|
|
104
|
+
.yahee-drop-down-condition .checkbox {
|
|
105
|
+
margin-top: 5px;
|
|
154
106
|
}
|
|
155
|
-
.yahee-
|
|
156
|
-
|
|
107
|
+
.yahee-drop-down-condition .custom-total-button {
|
|
108
|
+
margin-right: 0;
|
|
109
|
+
padding: 1px 4px;
|
|
110
|
+
height: 22px;
|
|
157
111
|
}
|
|
158
|
-
.yahee-
|
|
159
|
-
|
|
112
|
+
.yahee-drop-down-condition .custom-button {
|
|
113
|
+
margin-right: 0;
|
|
114
|
+
padding: 1px 4px;
|
|
115
|
+
min-height: 22px;
|
|
116
|
+
height: 22px;
|
|
117
|
+
margin-left: 5px;
|
|
160
118
|
}
|
|
161
|
-
.yahee-
|
|
162
|
-
|
|
119
|
+
.yahee-drop-down-condition .custom-button.inner-el-button {
|
|
120
|
+
margin-top: 5px;
|
|
163
121
|
}
|
|
164
|
-
.yahee-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
122
|
+
.yahee-drop-down-condition .scrollable-container {
|
|
123
|
+
max-height: 700px;
|
|
124
|
+
overflow-y: auto;
|
|
125
|
+
display: flex;
|
|
126
|
+
flex-direction: column;
|
|
169
127
|
}
|
|
170
|
-
.yahee-
|
|
171
|
-
|
|
172
|
-
font-weight: bold;
|
|
173
|
-
padding-left: 5px;
|
|
174
|
-
border-bottom: 1px solid #eee;
|
|
175
|
-
height: 30px;
|
|
176
|
-
line-height: 30px;
|
|
128
|
+
.yahee-drop-down-condition .scrollable-container::-webkit-scrollbar {
|
|
129
|
+
width: 5px;
|
|
177
130
|
}
|
|
178
|
-
.yahee-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
border: 1px solid #eee;
|
|
131
|
+
.yahee-drop-down-condition .scrollable-container::-webkit-scrollbar-track {
|
|
132
|
+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
133
|
+
border-radius: 10px;
|
|
182
134
|
}
|
|
183
|
-
.yahee-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
display: flex;
|
|
135
|
+
.yahee-drop-down-condition .scrollable-container::-webkit-scrollbar-thumb {
|
|
136
|
+
border-radius: 10px;
|
|
137
|
+
background: rgba(0, 0, 0, 0.1);
|
|
138
|
+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
|
|
188
139
|
}
|
|
189
|
-
|
|
190
|
-
|
|
140
|
+
|
|
141
|
+
.yahee-country-platform-shop-condition .popover-table {
|
|
142
|
+
width: auto;
|
|
143
|
+
border: 1px solid transparent;
|
|
144
|
+
border-collapse: separate;
|
|
191
145
|
}
|
|
192
|
-
.yahee-
|
|
193
|
-
|
|
146
|
+
.yahee-country-platform-shop-condition .popover-table tr,
|
|
147
|
+
.yahee-country-platform-shop-condition .popover-table td {
|
|
148
|
+
text-align: left;
|
|
149
|
+
cursor: pointer;
|
|
150
|
+
min-height: 22px;
|
|
194
151
|
}
|
|
195
|
-
.yahee-
|
|
196
|
-
|
|
197
|
-
display: flex;
|
|
198
|
-
min-height: 70px;
|
|
152
|
+
.yahee-country-platform-shop-condition .checkbox-group {
|
|
153
|
+
margin: 5px;
|
|
199
154
|
width: 100%;
|
|
200
|
-
margin-top: 10px;
|
|
201
|
-
}
|
|
202
|
-
.yahee-operation-log .bubble-tail {
|
|
203
|
-
position: absolute;
|
|
204
|
-
right: 85px;
|
|
205
|
-
top: 5px;
|
|
206
|
-
width: 0;
|
|
207
|
-
height: 0;
|
|
208
|
-
border-width: 6px;
|
|
209
|
-
border-style: solid;
|
|
210
|
-
border-color: transparent;
|
|
211
|
-
border-left-width: 9px;
|
|
212
|
-
border-left-color: currentColor;
|
|
213
|
-
color: #eee;
|
|
214
|
-
}
|
|
215
|
-
.yahee-operation-log .leftbubble-tail {
|
|
216
|
-
position: absolute;
|
|
217
|
-
left: 84px;
|
|
218
|
-
top: 5px;
|
|
219
|
-
width: 0;
|
|
220
|
-
height: 0;
|
|
221
|
-
border-width: 7px;
|
|
222
|
-
border-style: solid;
|
|
223
|
-
border-color: transparent;
|
|
224
|
-
margin-bottom: -39px;
|
|
225
|
-
border-right-width: 10px;
|
|
226
|
-
border-right-color: currentColor;
|
|
227
|
-
color: #eee;
|
|
228
|
-
}
|
|
229
|
-
.yahee-operation-log .r-text {
|
|
230
|
-
float: right;
|
|
231
|
-
margin-right: 100px;
|
|
232
|
-
max-width: 420px;
|
|
233
|
-
min-height: 52px;
|
|
234
|
-
}
|
|
235
|
-
.yahee-operation-log .r-text-main {
|
|
236
|
-
background: #FAFAFA;
|
|
237
|
-
border: 1px solid #ccc;
|
|
238
|
-
border-radius: 2px;
|
|
239
|
-
padding: 4px;
|
|
240
|
-
word-break: break-all;
|
|
241
|
-
text-align: right;
|
|
242
155
|
}
|
|
243
|
-
.yahee-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
min-height:
|
|
247
|
-
|
|
248
|
-
.yahee-operation-log .l-text-main {
|
|
249
|
-
background: #F7FFF7;
|
|
250
|
-
border: 1px solid #ccc;
|
|
251
|
-
border-radius: 2px;
|
|
252
|
-
padding: 4px;
|
|
253
|
-
display: inline-block;
|
|
254
|
-
min-width: 123px;
|
|
255
|
-
word-break: break-all;
|
|
156
|
+
.yahee-country-platform-shop-condition .popover-table th {
|
|
157
|
+
text-align: left;
|
|
158
|
+
cursor: pointer;
|
|
159
|
+
min-height: 22px;
|
|
160
|
+
border: 1px solid transparent;
|
|
256
161
|
}
|
|
257
|
-
.yahee-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
width: 65px;
|
|
262
|
-
line-height: 17px;
|
|
263
|
-
padding: 3px 0 5px;
|
|
264
|
-
text-align: center;
|
|
265
|
-
border: 1px solid #ccc;
|
|
266
|
-
border-radius: 2px;
|
|
267
|
-
background: #f1f1f1;
|
|
268
|
-
word-break: break-all;
|
|
162
|
+
.yahee-country-platform-shop-condition .popover-table td span {
|
|
163
|
+
display: block;
|
|
164
|
+
margin-bottom: 4px;
|
|
165
|
+
border: 1px solid transparent;
|
|
269
166
|
}
|
|
270
|
-
.yahee-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
left: 10px;
|
|
274
|
-
width: 65px;
|
|
275
|
-
line-height: 17px;
|
|
276
|
-
padding: 3px 0 5px;
|
|
277
|
-
text-align: center;
|
|
278
|
-
border: 1px solid #ccc;
|
|
279
|
-
border-radius: 2px;
|
|
280
|
-
background: #E8FFE8;
|
|
281
|
-
float: right;
|
|
282
|
-
word-break: break-all;
|
|
167
|
+
.yahee-country-platform-shop-condition .hover-trigger {
|
|
168
|
+
cursor: pointer;
|
|
169
|
+
color: blue;
|
|
283
170
|
}
|
|
284
|
-
.yahee-
|
|
285
|
-
|
|
286
|
-
|
|
171
|
+
.yahee-country-platform-shop-condition .custom-total-button {
|
|
172
|
+
margin-right: 0;
|
|
173
|
+
padding: 1px 4px;
|
|
174
|
+
height: 22px;
|
|
287
175
|
}
|
|
288
|
-
.yahee-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
176
|
+
.yahee-country-platform-shop-condition .custom-button {
|
|
177
|
+
width: 100%;
|
|
178
|
+
min-height: 22px;
|
|
179
|
+
min-width: 50px;
|
|
180
|
+
height: 22px;
|
|
181
|
+
margin: 3px;
|
|
293
182
|
}
|
|
294
|
-
.yahee-
|
|
295
|
-
|
|
296
|
-
justify-content: center;
|
|
297
|
-
align-items: center;
|
|
298
|
-
margin-bottom: 36px;
|
|
183
|
+
.yahee-country-platform-shop-condition .custom-button.inner-el-button {
|
|
184
|
+
margin-top: 5px;
|
|
299
185
|
}
|
|
300
|
-
.yahee-
|
|
301
|
-
|
|
302
|
-
margin-bottom: 6px !important;
|
|
186
|
+
.yahee-country-platform-shop-condition ::v-deep(.el-checkbox-button__inner) {
|
|
187
|
+
width: 100%;
|
|
303
188
|
}
|
|
304
189
|
|
|
305
190
|
:root {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { setBaseUrl as e } from "../packages/components/api/server.js";
|
|
2
|
+
import { setLogBaseUrl as a } from "../packages/components/api/log-server.js";
|
|
3
|
+
import { setUploadBaseUrl as p } from "../packages/components/api/upload-server.js";
|
|
4
|
+
import { apiUrl as r } from "./const.js";
|
|
5
|
+
let o;
|
|
6
|
+
function _() {
|
|
7
|
+
const t = (n) => {
|
|
8
|
+
o = { ...o, ...n }, i();
|
|
9
|
+
}, i = () => {
|
|
10
|
+
e(r[o.apiEnv].VITE_APP_API_BASEURL), a(r[o.apiEnv].VITE_APP_API_REMARK), p(r[o.apiEnv].VITE_APP_API_TOOLS);
|
|
11
|
+
};
|
|
12
|
+
return {
|
|
13
|
+
setConfig: t,
|
|
14
|
+
globalConfig: o
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
_ as config
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const t = {
|
|
2
|
+
development: {
|
|
3
|
+
VITE_APP_API_BASEURL: "http://192.168.83.220:8080/job-admin",
|
|
4
|
+
VITE_APP_API_TOOLS: "http://api-tools-test.yahee.com.cn:81/",
|
|
5
|
+
// 上传服务
|
|
6
|
+
VITE_APP_API_REMARK: "http://qas-newerp.yahee.com.cn:8088/PMS/Latest/"
|
|
7
|
+
// 日志服务
|
|
8
|
+
},
|
|
9
|
+
production: {
|
|
10
|
+
VITE_APP_API_BASEURL: "https://plmerp.yaheecloud.com/api/plm/product-dev/",
|
|
11
|
+
VITE_APP_API_TOOLS: "https://erptools.yaheecloud.com/",
|
|
12
|
+
// 上传服务
|
|
13
|
+
VITE_APP_API_REMARK: "https://newerp.yaheecloud.com/PMS/Latest/"
|
|
14
|
+
// 日志服务
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
t as apiUrl
|
|
19
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
function e(o) {
|
|
2
|
+
return o ? { backgroundColor: "#3366CC", color: "#fff", borderColor: "#3366CC" } : {};
|
|
3
|
+
}
|
|
4
|
+
function c(o) {
|
|
5
|
+
let r = "";
|
|
6
|
+
switch (o) {
|
|
7
|
+
case "急":
|
|
8
|
+
r = "#740F00";
|
|
9
|
+
break;
|
|
10
|
+
case "高":
|
|
11
|
+
r = "#AF6C12";
|
|
12
|
+
break;
|
|
13
|
+
case "中":
|
|
14
|
+
r = "#999";
|
|
15
|
+
break;
|
|
16
|
+
case "低":
|
|
17
|
+
r = "#999";
|
|
18
|
+
break;
|
|
19
|
+
}
|
|
20
|
+
return { backgroundColor: r, color: "#fff", borderColor: r };
|
|
21
|
+
}
|
|
22
|
+
const t = {
|
|
23
|
+
getBackgroundColor: e,
|
|
24
|
+
getPriorityColor: c
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
t as stylesUtils
|
|
28
|
+
};
|
package/es/utils/translate.js
CHANGED
|
@@ -1,38 +1,57 @@
|
|
|
1
|
-
import { sessionStorageProxy as
|
|
2
|
-
import
|
|
1
|
+
import { sessionStorageProxy as u, storage as s } from "./storage.js";
|
|
2
|
+
import m from "../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js";
|
|
3
3
|
import h from "../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js";
|
|
4
|
-
import "../
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
if (
|
|
10
|
-
const n =
|
|
11
|
-
if (n)
|
|
12
|
-
|
|
4
|
+
import { i18nType as c } from "../static/CommonObject.js";
|
|
5
|
+
import { Get as y } from "../api/server.js";
|
|
6
|
+
const T = (e) => {
|
|
7
|
+
var i;
|
|
8
|
+
const t = u.get("employee") || {}, o = d(e);
|
|
9
|
+
if (o === 0) return e;
|
|
10
|
+
const n = u.get(`translate${t.Language}`) || {};
|
|
11
|
+
if (m.isEmpty(n) || t.Language === "zh-CN" || !/[\u4e00-\u9fa5]/.test(e)) return e;
|
|
12
|
+
const l = n[o];
|
|
13
|
+
if (l)
|
|
14
|
+
return l;
|
|
13
15
|
{
|
|
14
|
-
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
projectId: "
|
|
20
|
-
id:
|
|
21
|
-
cn:
|
|
22
|
-
},
|
|
23
|
-
return console.log(
|
|
24
|
-
|
|
25
|
-
}),
|
|
16
|
+
const r = ((i = localStorage.getItem("localStorageListId")) == null ? void 0 : i.split(",")) || [];
|
|
17
|
+
if (r.includes(o.toString()))
|
|
18
|
+
return e;
|
|
19
|
+
r.push(o.toString()), localStorage.setItem("localStorageListId", r.join(","));
|
|
20
|
+
const p = {
|
|
21
|
+
projectId: "place-order",
|
|
22
|
+
id: o,
|
|
23
|
+
cn: e
|
|
24
|
+
}, g = "https://erptools.yaheecloud.com/api/translation/addTranslate";
|
|
25
|
+
return console.log(g, "url"), h.post(g, p, { withCredentials: !0 }).then((f) => {
|
|
26
|
+
f.data.code;
|
|
27
|
+
}), e;
|
|
26
28
|
}
|
|
27
29
|
};
|
|
28
|
-
function
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
function d(e) {
|
|
31
|
+
let t = 0;
|
|
32
|
+
if (!e || e.length === 0) return t;
|
|
33
|
+
for (let o = 0, n = e.length; o < n; o++) {
|
|
34
|
+
const a = e.charCodeAt(o);
|
|
35
|
+
t = (t << 5) - t + a, t |= 0;
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
}
|
|
39
|
+
function $(e, t = "") {
|
|
40
|
+
const o = s.get("totalEmployees");
|
|
41
|
+
if (!e || m.isEmpty(o)) return t;
|
|
42
|
+
const n = u.get("employee");
|
|
43
|
+
if (n.Language === c.CN) return t;
|
|
44
|
+
const a = o[e];
|
|
45
|
+
return a ? n.Language === c.CN ? a.name || t : a.enName || "" : (E(e).then((l) => {
|
|
46
|
+
const i = s.get("totalEmployees") || {}, r = l.data[0];
|
|
47
|
+
return r ? (i[e] = r, s.setWithExpireTime("totalEmployees", i, 3600 * 1e3), n.Language === c.CN ? r.name || "" : r.enName || "") : t;
|
|
48
|
+
}), t);
|
|
49
|
+
}
|
|
50
|
+
function E(e) {
|
|
51
|
+
const t = "/employee/all";
|
|
52
|
+
return y(e ? `${t}?idsStr=${e}` : t);
|
|
35
53
|
}
|
|
36
54
|
export {
|
|
37
|
-
|
|
55
|
+
T as M2,
|
|
56
|
+
$ as translateEmployeeName
|
|
38
57
|
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.yahee-country-platform-shop-condition .popover-table {
|
|
2
|
+
width: auto;
|
|
3
|
+
border: 1px solid transparent;
|
|
4
|
+
border-collapse: separate;
|
|
5
|
+
}
|
|
6
|
+
.yahee-country-platform-shop-condition .popover-table tr,
|
|
7
|
+
.yahee-country-platform-shop-condition .popover-table td {
|
|
8
|
+
text-align: left;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
min-height: 22px;
|
|
11
|
+
}
|
|
12
|
+
.yahee-country-platform-shop-condition .checkbox-group {
|
|
13
|
+
margin: 5px;
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
.yahee-country-platform-shop-condition .popover-table th {
|
|
17
|
+
text-align: left;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
min-height: 22px;
|
|
20
|
+
border: 1px solid transparent;
|
|
21
|
+
}
|
|
22
|
+
.yahee-country-platform-shop-condition .popover-table td span {
|
|
23
|
+
display: block;
|
|
24
|
+
margin-bottom: 4px;
|
|
25
|
+
border: 1px solid transparent;
|
|
26
|
+
}
|
|
27
|
+
.yahee-country-platform-shop-condition .hover-trigger {
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
color: blue;
|
|
30
|
+
}
|
|
31
|
+
.yahee-country-platform-shop-condition .custom-total-button {
|
|
32
|
+
margin-right: 0;
|
|
33
|
+
padding: 1px 4px;
|
|
34
|
+
height: 22px;
|
|
35
|
+
}
|
|
36
|
+
.yahee-country-platform-shop-condition .custom-button {
|
|
37
|
+
width: 100%;
|
|
38
|
+
min-height: 22px;
|
|
39
|
+
min-width: 50px;
|
|
40
|
+
height: 22px;
|
|
41
|
+
margin: 3px;
|
|
42
|
+
}
|
|
43
|
+
.yahee-country-platform-shop-condition .custom-button.inner-el-button {
|
|
44
|
+
margin-top: 5px;
|
|
45
|
+
}
|
|
46
|
+
.yahee-country-platform-shop-condition ::v-deep(.el-checkbox-button__inner) {
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
.yahee-drop-down-condition {
|
|
3
|
+
/* 滚动槽 */
|
|
4
|
+
/* 滚动条滑块 */
|
|
5
|
+
}
|
|
6
|
+
.yahee-drop-down-condition .checkbox-group {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
}
|
|
10
|
+
.yahee-drop-down-condition .checkbox {
|
|
11
|
+
margin-top: 5px;
|
|
12
|
+
}
|
|
13
|
+
.yahee-drop-down-condition .custom-total-button {
|
|
14
|
+
margin-right: 0;
|
|
15
|
+
padding: 1px 4px;
|
|
16
|
+
height: 22px;
|
|
17
|
+
}
|
|
18
|
+
.yahee-drop-down-condition .custom-button {
|
|
19
|
+
margin-right: 0;
|
|
20
|
+
padding: 1px 4px;
|
|
21
|
+
min-height: 22px;
|
|
22
|
+
height: 22px;
|
|
23
|
+
margin-left: 5px;
|
|
24
|
+
}
|
|
25
|
+
.yahee-drop-down-condition .custom-button.inner-el-button {
|
|
26
|
+
margin-top: 5px;
|
|
27
|
+
}
|
|
28
|
+
.yahee-drop-down-condition .scrollable-container {
|
|
29
|
+
max-height: 700px;
|
|
30
|
+
overflow-y: auto;
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
}
|
|
34
|
+
.yahee-drop-down-condition .scrollable-container::-webkit-scrollbar {
|
|
35
|
+
width: 5px;
|
|
36
|
+
}
|
|
37
|
+
.yahee-drop-down-condition .scrollable-container::-webkit-scrollbar-track {
|
|
38
|
+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
39
|
+
border-radius: 10px;
|
|
40
|
+
}
|
|
41
|
+
.yahee-drop-down-condition .scrollable-container::-webkit-scrollbar-thumb {
|
|
42
|
+
border-radius: 10px;
|
|
43
|
+
background: rgba(0, 0, 0, 0.1);
|
|
44
|
+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
|
|
45
|
+
}
|
|
File without changes
|