syntec3-0-ui-components-test 1.0.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/README.md +5 -0
- package/dist/S3_0UC_main.csv +4 -0
- package/dist/S3_0UC_sub.csv +2 -0
- package/dist/globalVariableS3_0UC.json +1 -0
- package/dist/style.css +1 -0
- package/dist/syntec3-0-ui-components.es.js +19518 -0
- package/dist/syntec3-0-ui-components.es.js.map +1 -0
- package/dist/syntec3-0-ui-components.umd.js +23 -0
- package/dist/syntec3-0-ui-components.umd.js.map +1 -0
- package/dist/vite.svg +1 -0
- package/dist/web.config +17 -0
- package/package.json +137 -0
- package/src/App.vue +31 -0
- package/src/assets/fonts/genYoGothicTW-normal.js +7 -0
- package/src/assets/image/defaultImage.png +0 -0
- package/src/assets/vue.svg +1 -0
- package/src/components/Layout/modules/fullPageGlobal.vue +113 -0
- package/src/components/Layout/modules/viewFile/config.js +65 -0
- package/src/components/Layout/modules/viewFile/createView.vue +1000 -0
- package/src/components/Layout/modules/viewFile/filterCriteria.vue +816 -0
- package/src/components/Layout/modules/viewFile/viewList.vue +291 -0
- package/src/components/Layout/modules/viewFile/viewManageTool.js +271 -0
- package/src/components/Layout/modules/viewFile/viewRecord.vue +472 -0
- package/src/components/Layout/modules/viewFile/viewTabs.vue +542 -0
- package/src/components/Layout/tools/GlobalDialog.vue +115 -0
- package/src/components/Pagination.vue +139 -0
- package/src/components/columnConfigNext.vue +273 -0
- package/src/components/customFilter/customFilter.vue +492 -0
- package/src/components/customFilter/filterCriteria.vue +769 -0
- package/src/components/customTable/components/headerOperation/index.vue +136 -0
- package/src/components/customTable/components/headerTabs/index.vue +171 -0
- package/src/components/customTable/components/tableContent/index.vue +440 -0
- package/src/components/customTable/index.vue +305 -0
- package/src/components/dialog.vue +85 -0
- package/src/components/pageContent.vue +48 -0
- package/src/components/popover.vue +402 -0
- package/src/configFiles/apiFile/baseApiList.json +11 -0
- package/src/configFiles/apiFile/coreApiList.json +24 -0
- package/src/configFiles/apiFile/mesApiList.json +4 -0
- package/src/configFiles/apiFile/mmsApiList.json +3 -0
- package/src/configFiles/errorCode.json +291 -0
- package/src/configFiles/version.js +2 -0
- package/src/i18n/lang/en-us.json +2060 -0
- package/src/i18n/lang/errorCodeTranslate.mjs +847 -0
- package/src/i18n/lang/zh-cn.json +2062 -0
- package/src/i18n/lang/zh-tw.json +2059 -0
- package/src/index.js +115 -0
- package/src/main.js +51 -0
- package/src/plugins/excel.js +88 -0
- package/src/router/index.js +41 -0
- package/src/scriptFiles/apiConfig/baseApis.js +10 -0
- package/src/scriptFiles/apiConfig/mesApis.js +10 -0
- package/src/scriptFiles/apiConfig/mmsApis.js +10 -0
- package/src/scriptFiles/apiConfig/privateCloudCoreApis.js +13 -0
- package/src/scriptFiles/apiConfig/serviceRoute.js +23 -0
- package/src/scriptFiles/apis/baseApiFunction.js +63 -0
- package/src/scriptFiles/apis/mesApiFunction.js +15 -0
- package/src/scriptFiles/apis/mmsApiFunction.js +9 -0
- package/src/scriptFiles/apis/privateCloudCoreApiFunction.js +101 -0
- package/src/scriptFiles/backendApiFunction.js +11 -0
- package/src/scriptFiles/checkApiErrorMechanism.js +137 -0
- package/src/scriptFiles/common/objectDataProcessing.js +65 -0
- package/src/scss/base/commom.scss +1068 -0
- package/src/scss/base/dialog.scss +45 -0
- package/src/scss/base/index.scss +3 -0
- package/src/scss/base/table.scss +28 -0
- package/src/store/index.js +25 -0
- package/src/store/module/langStore.js +116 -0
- package/src/style.css +52 -0
- package/src/utils/excel.js +86 -0
- package/src/utils/formula.js +69 -0
- package/src/utils/https.js +13 -0
- package/src/utils/i18n.js +42 -0
- package/src/utils/shiftSelect.js +164 -0
- package/src/utils/summation.js +77 -0
- package/src/utils/tableWidth.js +29 -0
- package/src/utils/toolFun.js +93 -0
- package/src/views/productionWorkOrder/components/columnConfig.vue +242 -0
- package/src/views/productionWorkOrder/components/docCustomFieldForm.vue +739 -0
- package/src/views/productionWorkOrder/components/filePreview.vue +148 -0
- package/src/views/productionWorkOrder/components/querySearch.vue +363 -0
- package/src/views/productionWorkOrder/configFiles/excelImportErrorCode.json +94 -0
- package/src/views/productionWorkOrder/configFiles/pdfDefaultConfig.js +933 -0
- package/src/views/productionWorkOrder/configFiles/planMakingScript.js +600 -0
- package/src/views/productionWorkOrder/configFiles/productionRelatedScript.js +368 -0
- package/src/views/productionWorkOrder/configFiles/rulse.js +23 -0
- package/src/views/productionWorkOrder/configFiles/status.js +50 -0
- package/src/views/productionWorkOrder/index.vue +2174 -0
- package/src/views/productionWorkOrder/productionFlowLabel/component/addCirculationLabel.vue +394 -0
- package/src/views/productionWorkOrder/productionFlowLabel/component/circulationLabelTable.vue +124 -0
- package/src/views/productionWorkOrder/productionFlowLabel/component/materialPartFilePreview.vue +167 -0
- package/src/views/productionWorkOrder/productionFlowLabel/component/workOrderInformation.vue +28 -0
- package/src/views/productionWorkOrder/productionFlowLabel/index.vue +604 -0
- package/src/views/production_work_order/components/priorityTooltip.vue +53 -0
- package/src/views/production_work_order/index.vue +1307 -0
- package/src/views/review_record/components/materialInfo.vue +50 -0
- package/src/views/review_record/components/rootCause.vue +42 -0
- package/src/views/review_record/components/workDetail.vue +115 -0
- package/src/views/review_record/index.vue +884 -0
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/dist/web.config
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<configuration>
|
|
3
|
+
<system.webServer>
|
|
4
|
+
<rewrite>
|
|
5
|
+
<rules>
|
|
6
|
+
<rule name="s3_0uc">
|
|
7
|
+
<match url=".*" />
|
|
8
|
+
<conditions>
|
|
9
|
+
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
|
|
10
|
+
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
|
|
11
|
+
</conditions>
|
|
12
|
+
<action type="Rewrite" url="/S3_0UC/" />
|
|
13
|
+
</rule>
|
|
14
|
+
</rules>
|
|
15
|
+
</rewrite>
|
|
16
|
+
</system.webServer>
|
|
17
|
+
</configuration>
|
package/package.json
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "syntec3-0-ui-components-test",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "xdkj基于Vue 3 和 Element Plus 等的页面组件集合",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "./dist/syntec3-0-ui-components.umd.js",
|
|
8
|
+
"module": "./dist/syntec3-0-ui-components.es.js",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/syntec3-0-ui-components.es.js",
|
|
12
|
+
"require": "./dist/syntec3-0-ui-components.umd.js"
|
|
13
|
+
},
|
|
14
|
+
"./style.css": "./dist/style.css",
|
|
15
|
+
"./i18n": {
|
|
16
|
+
"import": "./src/utils/i18n.js",
|
|
17
|
+
"require": "./src/utils/i18n.js"
|
|
18
|
+
},
|
|
19
|
+
"./i18n/zh-cn": "./src/i18n/lang/zh-cn.json",
|
|
20
|
+
"./i18n/zh-tw": "./src/i18n/lang/zh-tw.json",
|
|
21
|
+
"./i18n/en-us": "./src/i18n/lang/en-us.json",
|
|
22
|
+
"./i18n/errorCodes": "./src/i18n/lang/errorCodeTranslate.mjs"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"src"
|
|
27
|
+
],
|
|
28
|
+
"keywords": [
|
|
29
|
+
"vue",
|
|
30
|
+
"vue3",
|
|
31
|
+
"components",
|
|
32
|
+
"element-plus",
|
|
33
|
+
"ui-components"
|
|
34
|
+
],
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
37
|
+
"element-plus": "2.10.6",
|
|
38
|
+
"vue": "^3.5.11",
|
|
39
|
+
"vue-draggable-plus": "^0.5.4",
|
|
40
|
+
"vue-i18n": "^10.0.3"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"dev": "node getLocale.mjs && vite",
|
|
44
|
+
"build": "vite build",
|
|
45
|
+
"build:lib": "vite build --config vite.config.lib.js",
|
|
46
|
+
"preview": "vite preview"
|
|
47
|
+
},
|
|
48
|
+
"lint-staged": {
|
|
49
|
+
"*.{js,jsx,ts,tsx}": [
|
|
50
|
+
"prettier --write",
|
|
51
|
+
"eslint --fix"
|
|
52
|
+
],
|
|
53
|
+
"*.vue": [
|
|
54
|
+
"prettier --write",
|
|
55
|
+
"eslint --fix",
|
|
56
|
+
"stylelint --fix"
|
|
57
|
+
],
|
|
58
|
+
"*.{html,sass,scss,less}": [
|
|
59
|
+
"prettier --write",
|
|
60
|
+
"stylelint --fix"
|
|
61
|
+
],
|
|
62
|
+
"package.json": [
|
|
63
|
+
"prettier --write"
|
|
64
|
+
],
|
|
65
|
+
"*.md": [
|
|
66
|
+
"prettier --write"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
71
|
+
"@fullcalendar/core": "^6.1.15",
|
|
72
|
+
"@fullcalendar/daygrid": "^6.1.15",
|
|
73
|
+
"@fullcalendar/interaction": "^6.1.15",
|
|
74
|
+
"@fullcalendar/list": "^6.1.15",
|
|
75
|
+
"@fullcalendar/resource-timeline": "^6.1.15",
|
|
76
|
+
"@fullcalendar/timegrid": "^6.1.15",
|
|
77
|
+
"@fullcalendar/vue3": "^6.1.15",
|
|
78
|
+
"@mdi/font": "^7.4.47",
|
|
79
|
+
"axios": "^1.7.7",
|
|
80
|
+
"big.js": "^7.0.1",
|
|
81
|
+
"crypto-js": "^4.2.0",
|
|
82
|
+
"dayjs": "^1.11.13",
|
|
83
|
+
"element-plus": "2.10.6",
|
|
84
|
+
"i": "^0.3.7",
|
|
85
|
+
"jspdf": "^2.5.2",
|
|
86
|
+
"jspdf-autotable": "^3.8.4",
|
|
87
|
+
"lodash": "^4.17.21",
|
|
88
|
+
"mathjs": "^15.1.0",
|
|
89
|
+
"mitt": "^3.0.1",
|
|
90
|
+
"p-queue": "^8.1.0",
|
|
91
|
+
"qiankun": "^2.10.16",
|
|
92
|
+
"qrcode": "^1.5.4",
|
|
93
|
+
"sass": "^1.80.5",
|
|
94
|
+
"scss": "^0.2.4",
|
|
95
|
+
"utif": "^3.1.0",
|
|
96
|
+
"uuid": "^11.0.5",
|
|
97
|
+
"vite-plugin-eslint": "^1.8.1",
|
|
98
|
+
"vite-plugin-qiankun": "^1.0.15",
|
|
99
|
+
"vue": "^3.5.11",
|
|
100
|
+
"vue-draggable-plus": "^0.5.4",
|
|
101
|
+
"vue-i18n": "^10.0.3",
|
|
102
|
+
"vue-router": "^4.4.5",
|
|
103
|
+
"vuex": "^4.0.2",
|
|
104
|
+
"xlsx": "^0.18.5",
|
|
105
|
+
"xlsx-style": "^0.8.13"
|
|
106
|
+
},
|
|
107
|
+
"devDependencies": {
|
|
108
|
+
"@babel/eslint-parser": "^7.25.9",
|
|
109
|
+
"@eslint/js": "^8.54.0",
|
|
110
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
111
|
+
"@semantic-release/exec": "^6.0.3",
|
|
112
|
+
"@semantic-release/git": "^10.0.1",
|
|
113
|
+
"@semantic-release/gitlab": "^13.2.1",
|
|
114
|
+
"@semantic-release/npm": "^12.0.1",
|
|
115
|
+
"@tsconfig/node20": "^20.1.4",
|
|
116
|
+
"@types/node": "^20.16.11",
|
|
117
|
+
"@vitejs/plugin-vue": "^5.1.4",
|
|
118
|
+
"@vue/tsconfig": "^0.5.1",
|
|
119
|
+
"eslint": "^8.54.0",
|
|
120
|
+
"eslint-config-prettier": "^9.0.0",
|
|
121
|
+
"eslint-define-config": "^2.0.0",
|
|
122
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
123
|
+
"eslint-plugin-vue": "^9.18.1",
|
|
124
|
+
"npm-run-all2": "^6.2.3",
|
|
125
|
+
"prettier": "^3.1.0",
|
|
126
|
+
"sass": "^1.80.5",
|
|
127
|
+
"sass-embedded": "^1.80.4",
|
|
128
|
+
"sass-loader": "^16.0.2",
|
|
129
|
+
"semantic-release": "^24.1.1",
|
|
130
|
+
"typescript": "~5.5.4",
|
|
131
|
+
"vite": "^5.4.14",
|
|
132
|
+
"vite-plugin-html": "^3.2.2",
|
|
133
|
+
"vite-plugin-top-level-await": "^1.4.4",
|
|
134
|
+
"vue-eslint-parser": "^9.3.2",
|
|
135
|
+
"vue-tsc": "^2.1.6"
|
|
136
|
+
}
|
|
137
|
+
}
|
package/src/App.vue
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-config-provider :locale="getGlobalI18n">
|
|
3
|
+
<router-view />
|
|
4
|
+
</el-config-provider>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup>
|
|
8
|
+
import { computed } from 'vue';
|
|
9
|
+
import { useI18n } from 'vue-i18n';
|
|
10
|
+
import apiFunction from '@/scriptFiles/checkApiErrorMechanism';
|
|
11
|
+
|
|
12
|
+
const { messages, locale } = useI18n();
|
|
13
|
+
|
|
14
|
+
const getGlobalI18n = computed(() => {
|
|
15
|
+
return messages.value[locale.value]?.el;
|
|
16
|
+
});
|
|
17
|
+
// 列配置信息获取
|
|
18
|
+
const logins = async () => {
|
|
19
|
+
await apiFunction
|
|
20
|
+
.logins({
|
|
21
|
+
account: 'Admin',
|
|
22
|
+
password: 'Syntec1234',
|
|
23
|
+
})
|
|
24
|
+
.then((res) => {
|
|
25
|
+
if (res.data.code === 0) {
|
|
26
|
+
console.log('登录成功');
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
logins();
|
|
31
|
+
</script>
|