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.
Files changed (99) hide show
  1. package/README.md +5 -0
  2. package/dist/S3_0UC_main.csv +4 -0
  3. package/dist/S3_0UC_sub.csv +2 -0
  4. package/dist/globalVariableS3_0UC.json +1 -0
  5. package/dist/style.css +1 -0
  6. package/dist/syntec3-0-ui-components.es.js +19518 -0
  7. package/dist/syntec3-0-ui-components.es.js.map +1 -0
  8. package/dist/syntec3-0-ui-components.umd.js +23 -0
  9. package/dist/syntec3-0-ui-components.umd.js.map +1 -0
  10. package/dist/vite.svg +1 -0
  11. package/dist/web.config +17 -0
  12. package/package.json +137 -0
  13. package/src/App.vue +31 -0
  14. package/src/assets/fonts/genYoGothicTW-normal.js +7 -0
  15. package/src/assets/image/defaultImage.png +0 -0
  16. package/src/assets/vue.svg +1 -0
  17. package/src/components/Layout/modules/fullPageGlobal.vue +113 -0
  18. package/src/components/Layout/modules/viewFile/config.js +65 -0
  19. package/src/components/Layout/modules/viewFile/createView.vue +1000 -0
  20. package/src/components/Layout/modules/viewFile/filterCriteria.vue +816 -0
  21. package/src/components/Layout/modules/viewFile/viewList.vue +291 -0
  22. package/src/components/Layout/modules/viewFile/viewManageTool.js +271 -0
  23. package/src/components/Layout/modules/viewFile/viewRecord.vue +472 -0
  24. package/src/components/Layout/modules/viewFile/viewTabs.vue +542 -0
  25. package/src/components/Layout/tools/GlobalDialog.vue +115 -0
  26. package/src/components/Pagination.vue +139 -0
  27. package/src/components/columnConfigNext.vue +273 -0
  28. package/src/components/customFilter/customFilter.vue +492 -0
  29. package/src/components/customFilter/filterCriteria.vue +769 -0
  30. package/src/components/customTable/components/headerOperation/index.vue +136 -0
  31. package/src/components/customTable/components/headerTabs/index.vue +171 -0
  32. package/src/components/customTable/components/tableContent/index.vue +440 -0
  33. package/src/components/customTable/index.vue +305 -0
  34. package/src/components/dialog.vue +85 -0
  35. package/src/components/pageContent.vue +48 -0
  36. package/src/components/popover.vue +402 -0
  37. package/src/configFiles/apiFile/baseApiList.json +11 -0
  38. package/src/configFiles/apiFile/coreApiList.json +24 -0
  39. package/src/configFiles/apiFile/mesApiList.json +4 -0
  40. package/src/configFiles/apiFile/mmsApiList.json +3 -0
  41. package/src/configFiles/errorCode.json +291 -0
  42. package/src/configFiles/version.js +2 -0
  43. package/src/i18n/lang/en-us.json +2060 -0
  44. package/src/i18n/lang/errorCodeTranslate.mjs +847 -0
  45. package/src/i18n/lang/zh-cn.json +2062 -0
  46. package/src/i18n/lang/zh-tw.json +2059 -0
  47. package/src/index.js +115 -0
  48. package/src/main.js +51 -0
  49. package/src/plugins/excel.js +88 -0
  50. package/src/router/index.js +41 -0
  51. package/src/scriptFiles/apiConfig/baseApis.js +10 -0
  52. package/src/scriptFiles/apiConfig/mesApis.js +10 -0
  53. package/src/scriptFiles/apiConfig/mmsApis.js +10 -0
  54. package/src/scriptFiles/apiConfig/privateCloudCoreApis.js +13 -0
  55. package/src/scriptFiles/apiConfig/serviceRoute.js +23 -0
  56. package/src/scriptFiles/apis/baseApiFunction.js +63 -0
  57. package/src/scriptFiles/apis/mesApiFunction.js +15 -0
  58. package/src/scriptFiles/apis/mmsApiFunction.js +9 -0
  59. package/src/scriptFiles/apis/privateCloudCoreApiFunction.js +101 -0
  60. package/src/scriptFiles/backendApiFunction.js +11 -0
  61. package/src/scriptFiles/checkApiErrorMechanism.js +137 -0
  62. package/src/scriptFiles/common/objectDataProcessing.js +65 -0
  63. package/src/scss/base/commom.scss +1068 -0
  64. package/src/scss/base/dialog.scss +45 -0
  65. package/src/scss/base/index.scss +3 -0
  66. package/src/scss/base/table.scss +28 -0
  67. package/src/store/index.js +25 -0
  68. package/src/store/module/langStore.js +116 -0
  69. package/src/style.css +52 -0
  70. package/src/utils/excel.js +86 -0
  71. package/src/utils/formula.js +69 -0
  72. package/src/utils/https.js +13 -0
  73. package/src/utils/i18n.js +42 -0
  74. package/src/utils/shiftSelect.js +164 -0
  75. package/src/utils/summation.js +77 -0
  76. package/src/utils/tableWidth.js +29 -0
  77. package/src/utils/toolFun.js +93 -0
  78. package/src/views/productionWorkOrder/components/columnConfig.vue +242 -0
  79. package/src/views/productionWorkOrder/components/docCustomFieldForm.vue +739 -0
  80. package/src/views/productionWorkOrder/components/filePreview.vue +148 -0
  81. package/src/views/productionWorkOrder/components/querySearch.vue +363 -0
  82. package/src/views/productionWorkOrder/configFiles/excelImportErrorCode.json +94 -0
  83. package/src/views/productionWorkOrder/configFiles/pdfDefaultConfig.js +933 -0
  84. package/src/views/productionWorkOrder/configFiles/planMakingScript.js +600 -0
  85. package/src/views/productionWorkOrder/configFiles/productionRelatedScript.js +368 -0
  86. package/src/views/productionWorkOrder/configFiles/rulse.js +23 -0
  87. package/src/views/productionWorkOrder/configFiles/status.js +50 -0
  88. package/src/views/productionWorkOrder/index.vue +2174 -0
  89. package/src/views/productionWorkOrder/productionFlowLabel/component/addCirculationLabel.vue +394 -0
  90. package/src/views/productionWorkOrder/productionFlowLabel/component/circulationLabelTable.vue +124 -0
  91. package/src/views/productionWorkOrder/productionFlowLabel/component/materialPartFilePreview.vue +167 -0
  92. package/src/views/productionWorkOrder/productionFlowLabel/component/workOrderInformation.vue +28 -0
  93. package/src/views/productionWorkOrder/productionFlowLabel/index.vue +604 -0
  94. package/src/views/production_work_order/components/priorityTooltip.vue +53 -0
  95. package/src/views/production_work_order/index.vue +1307 -0
  96. package/src/views/review_record/components/materialInfo.vue +50 -0
  97. package/src/views/review_record/components/rootCause.vue +42 -0
  98. package/src/views/review_record/components/workDetail.vue +115 -0
  99. package/src/views/review_record/index.vue +884 -0
@@ -0,0 +1,291 @@
1
+ {
2
+ "Success": 0,
3
+ "System_Error": 10001,
4
+ "Service_Unavailable": 10002,
5
+ "Remote_Service_Error": 10003,
6
+ "IP_Limit": 10004,
7
+ "Illegal_Request": 10005,
8
+ "Token_Missing": 10006,
9
+ "Unsupport_Mediatype": 10007,
10
+ "Param_Error": 10008,
11
+ "System_Busy": 10009,
12
+ "Job_Expired": 10010,
13
+ "RPC_Error": 10011,
14
+ "Partial_Data_Error": 10012,
15
+ "Time_Out": 10013,
16
+ "Mail_Failed": 10014,
17
+ "Decode_Failed": 10015,
18
+ "Wechat_GetOpenID_Error": 10016,
19
+ "SDK_Unsupport_Function": 10017,
20
+ "API_Internet_Error": 10018,
21
+ "SMS_Failed": 10019,
22
+ "Insert_Problem_Type_Wrong": 20001,
23
+ "Insert_Problem_KeyColumn_Exist": 20002,
24
+ "Update_Problem_Type_Wrong": 20003,
25
+ "Update_Problem_KeyColumn_Miss": 20004,
26
+ "Select_Problem_No_Data": 20005,
27
+ "Update_Error": 20006,
28
+ "Insert_Error": 20007,
29
+ "Upsert_Error": 20008,
30
+ "Delete_Error": 20009,
31
+ "DBRelated_Error": 20010,
32
+ "Data_Duplicate": 20011,
33
+ "Password_Wrong": 30001,
34
+ "No_Right_to_Access": 30002,
35
+ "UserID_UnExist": 30003,
36
+ "Account_Quit": 30004,
37
+ "Verify_Fail": 30005,
38
+ "ID_SameAs_Password": 30006,
39
+ "Auth_Error": 30007,
40
+ "Machine_Number_Limit": 30008,
41
+ "Token_Expired": 30009,
42
+ "Password_Need_Change": 30010,
43
+ "Cookie_Error": 30011,
44
+ "Wechat_First_Login": 30012,
45
+ "Token_Verify_Fail": 30013,
46
+ "Option_Right_Invalid": 30014,
47
+ "No_Right_to_Access_CNC": 30015,
48
+ "Mail_Verify_Fail": 30016,
49
+ "No_Right_to_Access_Equipment": 30017,
50
+ "Equipment_Name_Duplicate": 30018,
51
+ "Software_Serial_Number_Valid": 30019,
52
+ "Input_Type_Wrong": 40001,
53
+ "Input_Size_Exceeded": 40002,
54
+ "File_Not_Exist": 50001,
55
+ "File_Using_Conflict": 50002,
56
+ "File_Not_ExistInRequest": 50003,
57
+ "File_Upload_Number_Limit": 50004,
58
+ "Oss_Upload_Fail": 50005,
59
+ "File_Size_Exceeded": 50006,
60
+ "Folder_Size_Exceeded": 50007,
61
+ "File_Extension_Invalid": 50008,
62
+ "File_Delete_Fail": 50009,
63
+ "File_Related_Error": 50010,
64
+ "File_InUse_Error": 50011,
65
+ "Folder_Not_Exist": 50012,
66
+ "Folder_InUse_Error": 50013,
67
+ "Folder_Error": 50014,
68
+ "Partial_File_Fail": 50015,
69
+ "OSS_Error": 50016,
70
+ "Connect_Broker_Failed": 60001,
71
+ "Subscribe_Topic_Failed": 60002,
72
+ "Publish_Topic_Failed": 60003,
73
+ "Duplicate_Subscribe_Topic": 60004,
74
+ "Not_Subscribe_Topic_Yet": 60005,
75
+ "Unsubscribe_Topic_Failed": 60006,
76
+ "DisConnect_Broker_Failed": 60007,
77
+ "CNC_MQTT_Error": 61001,
78
+ "CNC_Offline": 61002,
79
+ "CNC_Busy": 61003,
80
+ "CNC_Busy_MQTT": 61004,
81
+ "SMB_MQTT_Error": 62001,
82
+ "SMB_Offline": 62002,
83
+ "SMB_Busy": 62003,
84
+ "SMB_Busy_MQTT": 62004,
85
+ "Client_Already_Connect": 62005,
86
+ "CNC_Error": 70001,
87
+ "CNC_Not_Regist": 70002,
88
+ "CNC_Already_Decode": 70003,
89
+ "CNC_Already_Bind_SynFactory": 70004,
90
+ "CNC_Name_Duplicate": 70005,
91
+ "CNC_Connection_Full": 70006,
92
+ "CNC_Not_Binding": 70007,
93
+ "CNC_Disk_Not_Enough": 70008,
94
+ "CNC_Dispatch_Type": 70009,
95
+ "CNC_Busy_FileRelated": 70010,
96
+ "Robot_CNC_Direct_Dispatch_Deny": 70011,
97
+ "CNC_Busy_LogBackup": 70012,
98
+ "CNC_Disconnected": 70013,
99
+ "CNC_Invalid_BindingType": 70014,
100
+ "CNC_Invalid_Brand": 70015,
101
+ "CNC_Busy_ReportWorkRelated": 70016,
102
+ "CNC_Check_Connection": 70017,
103
+ "Decode_Error": 80001,
104
+ "Decode_Illegal": 80002,
105
+ "Subaccount_Auth_Illegal": 80003,
106
+ "VerifyCode_Illegal": 80004,
107
+ "SN_Not_Found": 80005,
108
+ "Decode_DataBase_Action_Error": 80006,
109
+ "Remote_Decode_Error": 80007,
110
+ "CNCType_Model_Not_Found": 80008,
111
+ "Wechat_Error": 90001,
112
+ "SubAccount_Multi_Wechat_Bind": 90002,
113
+ "MotherAccount_Multi_Wechat_Bind": 90003,
114
+ "Production_Plan_Error": 100001,
115
+ "Production_Order_Duplicate": 100002,
116
+ "Order_Duplicate": 100003,
117
+ "InValid_WorkOrderID": 100004,
118
+ "InValid_CNC_ID": 100005,
119
+ "InValid_ExceptedStartTime_Parameter": 100006,
120
+ "Out_Of_Number": 100007,
121
+ "Production_Order_Not_Same_Order": 100008,
122
+ "Work_Order_Inconsistency": 100009,
123
+ "PLM_Data_Inconsistent": 100010,
124
+ "Work_Order_Comes_From_OT": 100011,
125
+ "InValid_ProductionOrderID": 100012,
126
+ "PLM_CraftPath_Info_Inconsistent": 100013,
127
+ "PLM_ProdctionProcess_Info_Inconsistent": 100014,
128
+ "PLM_Machine_Info_Inconsistent": 100015,
129
+ "InValid_Shift_ID": 100016,
130
+ "InValid_Emp_ID": 100017,
131
+ "Part_Serial_Number_In_Use": 100018,
132
+ "Part_Serial_Number_Process_Lock": 100019,
133
+ "Serial_Number_Count_Setting_Conflict": 100020,
134
+ "Insufficient_Number": 100021,
135
+ "Work_Order_Status_Error": 100022,
136
+ "Part_Serial_Number_Length_Limit": 100023,
137
+ "Duplicate_SN_List": 100024,
138
+ "Work_Order_Duplicate_Start": 100025,
139
+ "Work_Order_Start_Fail": 100026,
140
+ "Work_Order_Suspend_Fail": 100027,
141
+ "Work_Order_Close_Fail_But_Suspend_Success": 100028,
142
+ "Work_Order_Part_Count_Not_Fulfill": 100029,
143
+ "Work_Order_Start_Switch_Fail": 100030,
144
+ "Duplicate_Production_Order_List": 100031,
145
+ "Work_order_Can_not_Direct_Start_work": 100032,
146
+ "Unbind_Part_Serial_Number_When_Start_work": 100033,
147
+ "InValid_Part_Serial_Number": 100034,
148
+ "Machine_Send_File_When_Start_Work": 100035,
149
+ "Serial_Number_Bind_Different_Part_Number": 100036,
150
+ "Need_Part_Serial_Number_Export_Time": 100037,
151
+ "Wrong_Work_Quantity": 100047,
152
+ "Shift_Error": 120001,
153
+ "Employee_Error": 120002,
154
+ "Shift_Pattern_Not_Exist": 120003,
155
+ "Same_Pattern_System_Exist": 120004,
156
+ "Pattern_Shift_Number_Conflict": 120005,
157
+ "Shift_Time_Overlap": 120006,
158
+ "Shift_Time_Sum_Exceed": 120007,
159
+ "Shift_Start_End_Time_Conflict": 120008,
160
+ "Shift_System_Not_Exist": 120009,
161
+ "Shift_ID_Shift_System_Conflict": 120010,
162
+ "Work_Report_Review_Error": 100056,
163
+ "Mobile_Message_Publish_Error": 10020,
164
+ "App_Version_Not_Null": 11001,
165
+ "App_Version_Error": 11002,
166
+ "TenantID_Not_Null": 11003,
167
+ "System_DB_Inner_Error": 11004,
168
+ "Call_API_Exception": 11009,
169
+ "DB_Number_Max": 20012,
170
+ "Software_Serial_Number_Expired": 30020,
171
+ "Login_All_SN_Invalid_Admin": 30021,
172
+ "Login_All_SN_Invalid_Not_Admin": 30022,
173
+ "Input_Param_Conflict": 40003,
174
+ "Search_Param_Unsupport": 40004,
175
+ "CNC_Status_Disable": 70018,
176
+ "CNC_Status_Active": 70019,
177
+ "Work_Time_Setting_Invalid": 100038,
178
+ "Invalid_Equipment_Group": 100039,
179
+ "ProcessOrder_Duplicate": 100040,
180
+ "Invalid_ProcessOrder_Status": 100041,
181
+ "Invalid_Equip_Resource": 100042,
182
+ "Process_Order_Not_Exist": 100043,
183
+ "ProductionOrder_Not_Exist": 100044,
184
+ "Production_Count_Belong_To_Failed": 100045,
185
+ "Work_Order_Not_Exist": 100046,
186
+ "Work_Order_Not_Select_EquipID": 100048,
187
+ "Wrong_Write_Custom_Data": 100050,
188
+ "Wrong_Relate_Work_report": 100051,
189
+ "ProductionOrder_ProcessOrder_RequiredThroughput_Inconsistent": 100052,
190
+ "Null_Custom_Data": 100053,
191
+ "Wrong_Custom_Form_Id": 100054,
192
+ "Work_Report_Review_Setting_Error": 100055,
193
+ "Break_Time_Out_Of_Range": 120011,
194
+ "FileDispatch_Error": 130001,
195
+ "TakeEvent_ID_Error": 130002,
196
+ "Service_Original_Connect_Error": 130003,
197
+ "IsProxyCheck_Error": 130004,
198
+ "IsCNCIdentityValid_Check_Error": 130005,
199
+ "CanSNAccessEquipment_Check_Error": 130006,
200
+ "SNCanNotAccessEquipment": 130007,
201
+ "GetTriggerHistory_Error": 130008,
202
+ "Duplicate_Setting_Data": 130009,
203
+ "Setting_Number_Limit_Exceed": 130010,
204
+ "None_Data_Delete": 130011,
205
+ "Material_Error": 140001,
206
+ "MaterialPartNumber_Invalid": 140002,
207
+ "MaterialPartNumber_Duplicated": 140003,
208
+ "MaterialType_Duplicated": 140004,
209
+ "MaterialPartNumber_Not_Found": 140005,
210
+ "MaterialBOM_Exist": 140006,
211
+ "MaterialBOM_Child_Relation_Invalid": 140007,
212
+ "MaterialBOM_RelationShip_Invalid": 140008,
213
+ "MaterialBOM_Self_Contained": 140009,
214
+ "MaterialBOM_Not_Exist": 140010,
215
+ "MaterialBOM_Bulk_Insert_Exceed": 140011,
216
+ "MaterialBOM_Version_Not_Exist": 140012,
217
+ "Material_Sync_To_PDM_Fail": 140013,
218
+ "Material_Do_Not_Have_BatchNumber_Setting": 140014,
219
+ "MaterialPartNumber_Status_Disable": 140015,
220
+ "Out_Storage_Not_Exit": 140025,
221
+ "Out_Stock_Space_Not_Exit": 140026,
222
+ "In_Storage_Not_Exit": 140027,
223
+ "In_Stock_Space_Not_Exit": 140028,
224
+ "Def_In_Storage_Not_Exit": 140029,
225
+ "Def_In_Stock_Space_Not_Exit": 140030,
226
+ "Purchase_In_Storage_Not_Exit": 140031,
227
+ "Purchase_In_Stock_Space_Not_Exit": 140032,
228
+ "Response_Fomat_Error": 150001,
229
+ "Equipmnet_Craft_Bind_Error": 160001,
230
+ "Template_Format_Error": 160002,
231
+ "Craft_NO_ToolLIfeTemplate": 160003,
232
+ "Tool_Axis_Error": 160004,
233
+ "Specification_Update_Error": 160005,
234
+ "CVUS_Error": 190001,
235
+ "CVUS_Setting_Not_Exist": 190002,
236
+ "CVUS_Parameter_Validation_Fail": 190003,
237
+ "CVUS_SETTING_COUNT_LIMIT": 190004,
238
+ "CVUS_VARTYPE_LENGTH_LIMIT": 190005,
239
+ "CVUS_Map_Diff_Set_Result": 190006,
240
+ "CVUS_Map_Error_Busy": 190007,
241
+ "CVUS_Map_When_Get_Setting": 190008,
242
+ "CVUS_Map_Unsup_Var": 190009,
243
+ "CVUS_Map_Var_Addr": 190010,
244
+ "CVUS_Map_Unsup_Var_Tp": 190011,
245
+ "CVUS_Map_Unsup_Freq": 190012,
246
+ "CVUS_EventID_Not_Exist": 190013,
247
+ "CVM_Parameter_Validation_Fail": 190014,
248
+ "CVM_SETTING_COUNT_LIMIT": 190015,
249
+ "CVM_VARTYPE_LENGTH_LIMIT": 190016,
250
+ "CVM_Take_Event_ID": 190017,
251
+ "CVM_Different_Result": 190018,
252
+ "CVM_Busy_Var_Modifying": 190019,
253
+ "CVM_Error_DataType_Trans_Error": 190020,
254
+ "CVM_Error_Unsupport_VarType": 190021,
255
+ "CVM_Error_Wrong_Var_Address": 190022,
256
+ "CVM_Error_Unsupport_DataType": 190023,
257
+ "CVUS_Error_GroupSub_NotExist": 190024,
258
+ "CVUS_Equip_Not_Support": 190025,
259
+ "Data_Already_Exists": 210001,
260
+ "Data_Count_Few": 210002,
261
+ "APP_Service_Common": 220001,
262
+ "APP_Not_Exist": 220002,
263
+ "APP_Duplicate_MQ_Connection": 220003,
264
+ "Part_Serial_Number_Error": 230001,
265
+ "Part_Serial_Number_Already_Bind_Part_Number": 230002,
266
+ "Part_Serial_Number_Not_Found": 230003,
267
+ "Part_Serial_Number_Do_Not_Bind_Part_Number": 230004,
268
+ "Operation_Uuid_Already_Bind_Other_Part_Number": 230005,
269
+ "Custom_Parameter_Already_Used_By_Part_Serial_Number_Setting": 230006,
270
+ "Serial_Number_Rule_Setting_Name_Duplicate": 230007,
271
+ "Serial_Number_Interval_Setting_Error": 230008,
272
+ "Machine_Type_Exit_Error": 240001,
273
+ "Cnc_Already_Bound": 240002,
274
+ "Batch_Number_Error": 250001,
275
+ "Batch_Number_Setting_Name_Duplicate": 250002,
276
+ "Batch_Number_Setting_ID_Not_Exist": 250003,
277
+ "Batch_Number_Setting_Not_Enable": 250004,
278
+ "Batch_Number_Insufficient": 250005,
279
+ "Batch_Number_Already_Bind_Other_Production_Order": 250006,
280
+ "Illegal_Batch_Number": 250007,
281
+ "Batch_Number_Setting_Exceed_Max_Digit": 250008,
282
+ "Field_Count_Max": 300001,
283
+ "Field_Name_Repeat": 300002,
284
+ "Process_Is_Not_Found": 110002,
285
+ "Route_Version_Is_Not_Found": 110006,
286
+ "Process_Repeat": 110007,
287
+ "Process_Count_Exceed_Limit": 110008,
288
+ "Template_Not_Exist": 110009,
289
+ "No_Beat_Point": 37001,
290
+ "Last_Process": 340011
291
+ }
@@ -0,0 +1,2 @@
1
+ const sideVersion = process.env.VUE_APP_FRONTVERSION;
2
+ export default sideVersion;