|
|
|
@ -53,9 +53,27 @@ export default { |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001013, |
|
|
|
serialNumber: '101001013Table1ProjectId', |
|
|
|
serialNumber: '101001013Table1BuDesc', |
|
|
|
tableId: "101001013Table1", |
|
|
|
tableName: "BU文档清单表", |
|
|
|
columnProp: 'buDesc', |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: 'BU', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1ProjectId', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'projectId', |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
@ -66,17 +84,360 @@ export default { |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1ProjectDesc', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'projectDesc', |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: '项目名称', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1TestPartNo', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'testPartNo', |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: '料号', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1customerNo', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: "customerNo", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "客户编码", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1customerDesc', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: "customerDesc", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "客户名称", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 150 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1ProjectCreationDate', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: "projectCreationDate", |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: "立项日期", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1Priority', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'priority', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: '优先级', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80, |
|
|
|
}, |
|
|
|
//区域 |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001013, |
|
|
|
serialNumber: '101001013Table1ProofingId', |
|
|
|
tableId: "101001013Table1", |
|
|
|
tableName: "BU文档清单表", |
|
|
|
columnProp: 'proofingId', |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1CProjectRegion', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'cProjectRegion', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: '区域', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1ProjectManager', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'projectManagerName', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: 'PM/Sales', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1ProjectOwner', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'projectOwnerName', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: 'PjM', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1Engineer', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'engineerName', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: 'Engineer', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1CQualityEngineer1', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'cQualityEngineer1Name', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: 'IPQC-Lam/Pri/Etch/Slit', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1CQualityEngineer2', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'cQualityEngineer2Name', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: 'IPQC-Converting', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1CQualityEngineer3', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'cQualityEngineer3Name', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: 'FQC', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1CManufactureEngineer', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'cManufactureEngineerName', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: 'MFG', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1Status', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'status', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: '项目状态' , |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1NeedDate', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'needDate', |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: '预计完成日期', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1ProjectCloseDate', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'projectCloseDate', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: '结案日期', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1FinalPartNo', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'finalPartNo', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: 'ERP正式料号', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 103001, |
|
|
|
serialNumber: '103001Table1RequiredDeliveryDate', |
|
|
|
tableId: '103001Table1', |
|
|
|
tableName: '打样记录表', |
|
|
|
columnProp: 'planStartDate', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '打样开始日期', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 103001, |
|
|
|
serialNumber: '103001Table1ProofingNo', |
|
|
|
tableId: '103001Table1', |
|
|
|
tableName: '打样记录表', |
|
|
|
columnProp: 'proofingNo', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '打样单号', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
@ -84,8 +445,82 @@ export default { |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 103001, |
|
|
|
serialNumber: '103001Table1ProofingNumber', |
|
|
|
tableId: '103001Table1', |
|
|
|
tableName: '打样记录表', |
|
|
|
columnProp: 'proofingNumber', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '数量', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1CProjectTypeDb', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "项目信息表", |
|
|
|
columnProp: 'cProjectTypeDb', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: '项目分类', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80, |
|
|
|
}, |
|
|
|
//日期requiredDeliveryDate |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 103001, |
|
|
|
serialNumber: '103001Table1RequiredDeliveryDate', |
|
|
|
tableId: '103001Table1', |
|
|
|
tableName: '打样记录表', |
|
|
|
columnProp: 'requiredDeliveryDate', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '预计完成日期', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80 |
|
|
|
}, |
|
|
|
//日期requiredDeliveryDate |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 103001, |
|
|
|
serialNumber: '103001Table1ActualityDeliveryDate', |
|
|
|
tableId: '103001Table1', |
|
|
|
tableName: '打样记录表', |
|
|
|
columnProp: 'actualityDeliveryDate', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '实际完成日期', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001013, |
|
|
|
@ -140,24 +575,6 @@ export default { |
|
|
|
fixed: '', |
|
|
|
columnWidth: 70, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101001014, |
|
|
|
serialNumber: '101001014Table1DocumentGroupDesc', |
|
|
|
tableId: "101001014Table1", |
|
|
|
tableName: "打样文档表", |
|
|
|
columnProp: 'documentGroupDesc', |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: '文档种类', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 70, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 103001, |
|
|
|
@ -167,7 +584,7 @@ export default { |
|
|
|
columnProp: 'createDate', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '创建时间', |
|
|
|
columnLabel: '文档创建时间', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -185,7 +602,7 @@ export default { |
|
|
|
columnProp: 'createdBy', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '创建人', |
|
|
|
columnLabel: '文档创建人', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -200,6 +617,11 @@ export default { |
|
|
|
created() { |
|
|
|
this.getDataList() |
|
|
|
}, |
|
|
|
activated() { |
|
|
|
if (this.$route.query.flag) { |
|
|
|
this.getDataList() |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
// 获取数据列表 |
|
|
|
getDataList () { |
|
|
|
@ -207,14 +629,30 @@ export default { |
|
|
|
searchProjectUploadsDocumentList(this.searchData).then(({data}) => { |
|
|
|
if (data.code === 0) { |
|
|
|
this.dataList = data.list |
|
|
|
// 判断是否全部存在数据 |
|
|
|
this.dataList.forEach((item) => { |
|
|
|
item.projectManagerName = item.projectManager.split('-')[1] |
|
|
|
item.projectOwnerName = item.projectOwner.split('-')[1] |
|
|
|
item.engineerName = item.engineer.split('-')[1] |
|
|
|
item.cQualityEngineer1Name = item.cQualityEngineer1.split('-')[1] |
|
|
|
item.cQualityEngineer2Name = item.cQualityEngineer2.split('-')[1] |
|
|
|
item.cQualityEngineer3Name = item.cQualityEngineer3.split('-')[1] |
|
|
|
item.cManufactureEngineerName = item.cManufactureEngineer.split('-')[1] |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
}else { |
|
|
|
searchProjectOverUploadsDocumentList(this.searchData).then(({data}) => { |
|
|
|
if (data.code === 0) { |
|
|
|
this.dataList = data.list |
|
|
|
// 判断是否全部存在数据 |
|
|
|
this.dataList.forEach((item) => { |
|
|
|
item.projectManagerName = item.projectManager.split('-')[1] |
|
|
|
item.projectOwnerName = item.projectOwner.split('-')[1] |
|
|
|
item.engineerName = item.engineer.split('-')[1] |
|
|
|
item.cQualityEngineer1Name = item.cQualityEngineer1.split('-')[1] |
|
|
|
item.cQualityEngineer2Name = item.cQualityEngineer2.split('-')[1] |
|
|
|
item.cQualityEngineer3Name = item.cQualityEngineer3.split('-')[1] |
|
|
|
item.cManufactureEngineerName = item.cManufactureEngineer.split('-')[1] |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
|