|
|
@ -137,7 +137,8 @@ |
|
|
border |
|
|
border |
|
|
style="width: 100%;"> |
|
|
style="width: 100%;"> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
v-for="(item,index) in columnList" :key="index" |
|
|
|
|
|
|
|
|
v-for="(item,index) in visibleColumnList" |
|
|
|
|
|
:key="item.serialNumber || item.columnProp || index" |
|
|
:sortable="item.columnSortable" |
|
|
:sortable="item.columnSortable" |
|
|
:prop="item.columnProp" |
|
|
:prop="item.columnProp" |
|
|
:header-align="item.headerAlign" |
|
|
:header-align="item.headerAlign" |
|
|
@ -1143,7 +1144,8 @@ |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
v-for="(item,index) in columnPartList" :key="index" |
|
|
|
|
|
|
|
|
v-for="(item,index) in visibleColumnPartList" |
|
|
|
|
|
:key="item.serialNumber || item.columnProp || index" |
|
|
:sortable="item.columnSortable" |
|
|
:sortable="item.columnSortable" |
|
|
:prop="item.columnProp" |
|
|
:prop="item.columnProp" |
|
|
:header-align="item.headerAlign" |
|
|
:header-align="item.headerAlign" |
|
|
@ -1222,6 +1224,12 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
engineersList() { |
|
|
engineersList() { |
|
|
return this.allPersonnelInfoList.filter(item => item.engineerId !== undefined); |
|
|
return this.allPersonnelInfoList.filter(item => item.engineerId !== undefined); |
|
|
}, |
|
|
}, |
|
|
|
|
|
visibleColumnList () { |
|
|
|
|
|
return this.columnList.filter(item => item.status !== false && item.status !== 0) |
|
|
|
|
|
}, |
|
|
|
|
|
visibleColumnPartList () { |
|
|
|
|
|
return this.columnPartList.filter(item => item.status !== false && item.status !== 0) |
|
|
|
|
|
}, |
|
|
currentModalBuNo () { |
|
|
currentModalBuNo () { |
|
|
return this.getBuNoByJoinedValue(this.modalData.bu) |
|
|
return this.getBuNoByJoinedValue(this.modalData.bu) |
|
|
}, |
|
|
}, |
|
|
@ -2990,11 +2998,20 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (value === null || value === undefined || value === '') { |
|
|
if (value === null || value === undefined || value === '') { |
|
|
return '' |
|
|
return '' |
|
|
} |
|
|
} |
|
|
let userParts = String(value).split('-') |
|
|
|
|
|
if (userParts.length > 1) { |
|
|
|
|
|
return userParts[1] |
|
|
|
|
|
|
|
|
let userValue = String(value).trim() |
|
|
|
|
|
let separatorIndex = userValue.indexOf('-') |
|
|
|
|
|
if (separatorIndex > -1 && separatorIndex < userValue.length - 1) { |
|
|
|
|
|
return userValue.substring(separatorIndex + 1) |
|
|
} |
|
|
} |
|
|
return '' |
|
|
|
|
|
|
|
|
return userValue |
|
|
|
|
|
}, |
|
|
|
|
|
refreshTableLayout (tableRefName) { |
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
|
let tableRef = this.$refs[tableRefName] |
|
|
|
|
|
if (tableRef && tableRef.doLayout) { |
|
|
|
|
|
tableRef.doLayout() |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
}, |
|
|
}, |
|
|
handleColumnResize(newWidth, oldWidth, column, event){ |
|
|
handleColumnResize(newWidth, oldWidth, column, event){ |
|
|
let inData= this.columnList.filter(item => item.columnProp === column.property)[0] |
|
|
let inData= this.columnList.filter(item => item.columnProp === column.property)[0] |
|
|
@ -3202,7 +3219,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} |
|
|
} |
|
|
if (this.tagNo === 2006) { |
|
|
if (this.tagNo === 2006) { |
|
|
this.modalData.cQualityEngineer4 = val.username + '-' + val.user_display |
|
|
this.modalData.cQualityEngineer4 = val.username + '-' + val.user_display |
|
|
this.modalData.cQualityEngineer4Name = this.modalData.cQualityEngineer4.split('-')[1] |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer4Name = this.getUserDisplayName(this.modalData.cQualityEngineer4) |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
if (data && data.code === 0){ |
|
|
if (data && data.code === 0){ |
|
|
this.businessDataList7 = data.rows; |
|
|
this.businessDataList7 = data.rows; |
|
|
@ -3211,7 +3228,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} |
|
|
} |
|
|
if (this.tagNo === 2007) { |
|
|
if (this.tagNo === 2007) { |
|
|
this.modalData.cQualityEngineer5 = val.username + '-' + val.user_display |
|
|
this.modalData.cQualityEngineer5 = val.username + '-' + val.user_display |
|
|
this.modalData.cQualityEngineer5Name = this.modalData.cQualityEngineer5.split('-')[1] |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer5Name = this.getUserDisplayName(this.modalData.cQualityEngineer5) |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
if (data && data.code === 0){ |
|
|
if (data && data.code === 0){ |
|
|
this.businessDataList7 = data.rows; |
|
|
this.businessDataList7 = data.rows; |
|
|
@ -3220,7 +3237,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} |
|
|
} |
|
|
if (this.tagNo === 2008) { |
|
|
if (this.tagNo === 2008) { |
|
|
this.modalData.cQualityEngineer6 = val.username + '-' + val.user_display |
|
|
this.modalData.cQualityEngineer6 = val.username + '-' + val.user_display |
|
|
this.modalData.cQualityEngineer6Name = this.modalData.cQualityEngineer6.split('-')[1] |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer6Name = this.getUserDisplayName(this.modalData.cQualityEngineer6) |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
if (data && data.code === 0){ |
|
|
if (data && data.code === 0){ |
|
|
this.businessDataList7 = data.rows; |
|
|
this.businessDataList7 = data.rows; |
|
|
@ -3229,7 +3246,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} |
|
|
} |
|
|
if (this.tagNo === 2010) { |
|
|
if (this.tagNo === 2010) { |
|
|
this.modalData.ipqcHardTag = val.username + '-' + val.user_display |
|
|
this.modalData.ipqcHardTag = val.username + '-' + val.user_display |
|
|
this.modalData.ipqcHardTagName = this.modalData.ipqcHardTag.split('-')[1] |
|
|
|
|
|
|
|
|
this.modalData.ipqcHardTagName = this.getUserDisplayName(this.modalData.ipqcHardTag) |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
if (data && data.code === 0){ |
|
|
if (data && data.code === 0){ |
|
|
this.businessDataList7 = data.rows; |
|
|
this.businessDataList7 = data.rows; |
|
|
@ -3238,7 +3255,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} |
|
|
} |
|
|
if (this.tagNo === 2012) { |
|
|
if (this.tagNo === 2012) { |
|
|
this.modalData.cQualityEngineer7 = val.username + '-' + val.user_display |
|
|
this.modalData.cQualityEngineer7 = val.username + '-' + val.user_display |
|
|
this.modalData.cQualityEngineer7Name = this.modalData.cQualityEngineer7.split('-')[1] |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer7Name = this.getUserDisplayName(this.modalData.cQualityEngineer7) |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
if (data && data.code === 0){ |
|
|
if (data && data.code === 0){ |
|
|
this.businessDataList7 = data.rows; |
|
|
this.businessDataList7 = data.rows; |
|
|
@ -3247,7 +3264,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} |
|
|
} |
|
|
if (this.tagNo === 3001) { |
|
|
if (this.tagNo === 3001) { |
|
|
this.modalData.qcEngineer = val.username + '-' + val.user_display |
|
|
this.modalData.qcEngineer = val.username + '-' + val.user_display |
|
|
this.modalData.qcEngineerName = this.modalData.qcEngineer.split('-')[1] |
|
|
|
|
|
|
|
|
this.modalData.qcEngineerName = this.getUserDisplayName(this.modalData.qcEngineer) |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
if (data && data.code === 0){ |
|
|
if (data && data.code === 0){ |
|
|
this.businessDataList7 = data.rows; |
|
|
this.businessDataList7 = data.rows; |
|
|
@ -3256,7 +3273,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} |
|
|
} |
|
|
if (this.tagNo === 3002) { |
|
|
if (this.tagNo === 3002) { |
|
|
this.modalData.peEngineer = val.username + '-' + val.user_display |
|
|
this.modalData.peEngineer = val.username + '-' + val.user_display |
|
|
this.modalData.peEngineerName = this.modalData.peEngineer.split('-')[1] |
|
|
|
|
|
|
|
|
this.modalData.peEngineerName = this.getUserDisplayName(this.modalData.peEngineer) |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
if (data && data.code === 0){ |
|
|
if (data && data.code === 0){ |
|
|
this.businessDataList7 = data.rows; |
|
|
this.businessDataList7 = data.rows; |
|
|
@ -3265,7 +3282,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} |
|
|
} |
|
|
if (this.tagNo === 3003) { |
|
|
if (this.tagNo === 3003) { |
|
|
this.modalData.eeEngineer = val.username + '-' + val.user_display |
|
|
this.modalData.eeEngineer = val.username + '-' + val.user_display |
|
|
this.modalData.eeEngineerName = this.modalData.eeEngineer.split('-')[1] |
|
|
|
|
|
|
|
|
this.modalData.eeEngineerName = this.getUserDisplayName(this.modalData.eeEngineer) |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
if (data && data.code === 0){ |
|
|
if (data && data.code === 0){ |
|
|
this.businessDataList7 = data.rows; |
|
|
this.businessDataList7 = data.rows; |
|
|
@ -3274,7 +3291,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} |
|
|
} |
|
|
if (this.tagNo === 3004) { |
|
|
if (this.tagNo === 3004) { |
|
|
this.modalData.sqemeEngineer = val.username + '-' + val.user_display |
|
|
this.modalData.sqemeEngineer = val.username + '-' + val.user_display |
|
|
this.modalData.sqemeEngineerName = this.modalData.sqemeEngineer.split('-')[1] |
|
|
|
|
|
|
|
|
this.modalData.sqemeEngineerName = this.getUserDisplayName(this.modalData.sqemeEngineer) |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
if (data && data.code === 0){ |
|
|
if (data && data.code === 0){ |
|
|
this.businessDataList7 = data.rows; |
|
|
this.businessDataList7 = data.rows; |
|
|
@ -3283,7 +3300,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} |
|
|
} |
|
|
if (this.tagNo === 3005) { |
|
|
if (this.tagNo === 3005) { |
|
|
this.modalData.sqeeeEngineer = val.username + '-' + val.user_display |
|
|
this.modalData.sqeeeEngineer = val.username + '-' + val.user_display |
|
|
this.modalData.sqeeeEngineerName = this.modalData.sqeeeEngineer.split('-')[1] |
|
|
|
|
|
|
|
|
this.modalData.sqeeeEngineerName = this.getUserDisplayName(this.modalData.sqeeeEngineer) |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
if (data && data.code === 0){ |
|
|
if (data && data.code === 0){ |
|
|
this.businessDataList7 = data.rows; |
|
|
this.businessDataList7 = data.rows; |
|
|
@ -3917,34 +3934,34 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
updateBy: this.$store.state.user.name, |
|
|
updateBy: this.$store.state.user.name, |
|
|
} |
|
|
} |
|
|
if (row.cQualityEngineer4 != null && row.cQualityEngineer4 !== ''){ |
|
|
if (row.cQualityEngineer4 != null && row.cQualityEngineer4 !== ''){ |
|
|
this.modalData.cQualityEngineer4Name= row.cQualityEngineer4.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer4Name = this.getUserDisplayName(row.cQualityEngineer4) |
|
|
} |
|
|
} |
|
|
if (row.cQualityEngineer5 != null && row.cQualityEngineer5 !== ''){ |
|
|
if (row.cQualityEngineer5 != null && row.cQualityEngineer5 !== ''){ |
|
|
this.modalData.cQualityEngineer5Name= row.cQualityEngineer5.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer5Name = this.getUserDisplayName(row.cQualityEngineer5) |
|
|
} |
|
|
} |
|
|
if (row.cQualityEngineer6 != null && row.cQualityEngineer6 !== ''){ |
|
|
if (row.cQualityEngineer6 != null && row.cQualityEngineer6 !== ''){ |
|
|
this.modalData.cQualityEngineer6Name= row.cQualityEngineer6.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer6Name = this.getUserDisplayName(row.cQualityEngineer6) |
|
|
} |
|
|
} |
|
|
if (row.docEngineer != null && row.docEngineer !== ''){ |
|
|
if (row.docEngineer != null && row.docEngineer !== ''){ |
|
|
this.modalData.docEngineerName= row.docEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.docEngineerName = this.getUserDisplayName(row.docEngineer) |
|
|
} |
|
|
} |
|
|
if (row.docEngineer2 != null && row.docEngineer2 !== ''){ |
|
|
if (row.docEngineer2 != null && row.docEngineer2 !== ''){ |
|
|
this.modalData.docEngineer2Name= row.docEngineer2.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.docEngineer2Name = this.getUserDisplayName(row.docEngineer2) |
|
|
} |
|
|
} |
|
|
if (row.ipqcHardTag != null && row.ipqcHardTag !== ''){ |
|
|
if (row.ipqcHardTag != null && row.ipqcHardTag !== ''){ |
|
|
this.modalData.ipqcHardTagName= row.ipqcHardTag.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.ipqcHardTagName = this.getUserDisplayName(row.ipqcHardTag) |
|
|
} |
|
|
} |
|
|
if (row.cQualityEngineer7 != null && row.cQualityEngineer7 !== ''){ |
|
|
if (row.cQualityEngineer7 != null && row.cQualityEngineer7 !== ''){ |
|
|
this.modalData.cQualityEngineer7Name= row.cQualityEngineer7.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer7Name = this.getUserDisplayName(row.cQualityEngineer7) |
|
|
} |
|
|
} |
|
|
if (row.qcEngineer != null && row.qcEngineer !== ''){ |
|
|
if (row.qcEngineer != null && row.qcEngineer !== ''){ |
|
|
this.modalData.qcEngineerName = row.qcEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.qcEngineerName = this.getUserDisplayName(row.qcEngineer) |
|
|
} |
|
|
} |
|
|
if (row.peEngineer != null && row.peEngineer !== ''){ |
|
|
if (row.peEngineer != null && row.peEngineer !== ''){ |
|
|
this.modalData.peEngineerName = row.peEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.peEngineerName = this.getUserDisplayName(row.peEngineer) |
|
|
} |
|
|
} |
|
|
if (row.eeEngineer != null && row.eeEngineer !== ''){ |
|
|
if (row.eeEngineer != null && row.eeEngineer !== ''){ |
|
|
this.modalData.eeEngineerName = row.eeEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.eeEngineerName = this.getUserDisplayName(row.eeEngineer) |
|
|
} |
|
|
} |
|
|
if (this.modalData.sqemeEngineer) { |
|
|
if (this.modalData.sqemeEngineer) { |
|
|
this.modalData.sqemeEngineerName = this.getUserDisplayName(this.modalData.sqemeEngineer) |
|
|
this.modalData.sqemeEngineerName = this.getUserDisplayName(this.modalData.sqemeEngineer) |
|
|
@ -4629,49 +4646,49 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (row && row.username && row.userDisplay) { |
|
|
if (row && row.username && row.userDisplay) { |
|
|
this.modalData.projectManager = row.username + '-' + row.userDisplay; |
|
|
this.modalData.projectManager = row.username + '-' + row.userDisplay; |
|
|
if (this.modalData.projectManager) { |
|
|
if (this.modalData.projectManager) { |
|
|
this.modalData.projectManagerName = this.modalData.projectManager.split('-')[1]; |
|
|
|
|
|
|
|
|
this.modalData.projectManagerName = this.getUserDisplayName(this.modalData.projectManager); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
this.projectManagerFlag = false; |
|
|
this.projectManagerFlag = false; |
|
|
}, |
|
|
}, |
|
|
projectOwnerRowDblclick (row) { |
|
|
projectOwnerRowDblclick (row) { |
|
|
this.modalData.projectOwner = row.username + '-' + row.userDisplay |
|
|
this.modalData.projectOwner = row.username + '-' + row.userDisplay |
|
|
this.modalData.projectOwnerName = this.modalData.projectOwner.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.projectOwnerName = this.getUserDisplayName(this.modalData.projectOwner) |
|
|
this.projectOwnerFlag = false |
|
|
this.projectOwnerFlag = false |
|
|
}, |
|
|
}, |
|
|
engineerRowDblclick (row) { |
|
|
engineerRowDblclick (row) { |
|
|
this.modalData.cQualityEngineer1 = row.username + '-' + row.userDisplay |
|
|
this.modalData.cQualityEngineer1 = row.username + '-' + row.userDisplay |
|
|
this.modalData.cQualityEngineer1Name = this.modalData.cQualityEngineer1.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer1Name = this.getUserDisplayName(this.modalData.cQualityEngineer1) |
|
|
this.engineerFlag = false |
|
|
this.engineerFlag = false |
|
|
}, |
|
|
}, |
|
|
engineer6RowDblclick (row) { |
|
|
engineer6RowDblclick (row) { |
|
|
this.modalData.engineer = row.username + '-' + row.userDisplay |
|
|
this.modalData.engineer = row.username + '-' + row.userDisplay |
|
|
this.modalData.engineerName = this.modalData.engineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.engineerName = this.getUserDisplayName(this.modalData.engineer) |
|
|
this.engineer6Flag = false |
|
|
this.engineer6Flag = false |
|
|
}, |
|
|
}, |
|
|
IPQCRowDblclick (row) { |
|
|
IPQCRowDblclick (row) { |
|
|
this.modalData.cQualityEngineer2 = row.username + '-' + row.userDisplay |
|
|
this.modalData.cQualityEngineer2 = row.username + '-' + row.userDisplay |
|
|
this.modalData.cQualityEngineer2Name = this.modalData.cQualityEngineer2.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer2Name = this.getUserDisplayName(this.modalData.cQualityEngineer2) |
|
|
this.IPQCFlag = false |
|
|
this.IPQCFlag = false |
|
|
}, |
|
|
}, |
|
|
FQC1RowDblclick (row) { |
|
|
FQC1RowDblclick (row) { |
|
|
this.modalData.cQualityEngineer3 = row.username + '-' + row.userDisplay |
|
|
this.modalData.cQualityEngineer3 = row.username + '-' + row.userDisplay |
|
|
this.modalData.cQualityEngineer3Name = this.modalData.cQualityEngineer3.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer3Name = this.getUserDisplayName(this.modalData.cQualityEngineer3) |
|
|
this.FQC1Flag = false |
|
|
this.FQC1Flag = false |
|
|
}, |
|
|
}, |
|
|
MFGRowDblclick (row) { |
|
|
MFGRowDblclick (row) { |
|
|
this.modalData.cManufactureEngineer = row.username + '-' + row.userDisplay |
|
|
this.modalData.cManufactureEngineer = row.username + '-' + row.userDisplay |
|
|
this.modalData.cManufactureEngineerName = this.modalData.cManufactureEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cManufactureEngineerName = this.getUserDisplayName(this.modalData.cManufactureEngineer) |
|
|
this.MFGlag = false |
|
|
this.MFGlag = false |
|
|
}, |
|
|
}, |
|
|
docEngineerRowDblclick (row) { |
|
|
docEngineerRowDblclick (row) { |
|
|
this.modalData.docEngineer = row.username + '-' + row.userDisplay |
|
|
this.modalData.docEngineer = row.username + '-' + row.userDisplay |
|
|
this.modalData.docEngineerName = this.modalData.docEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.docEngineerName = this.getUserDisplayName(this.modalData.docEngineer) |
|
|
this.docEngineerFlag = false |
|
|
this.docEngineerFlag = false |
|
|
}, |
|
|
}, |
|
|
docEngineer2RowDblclick (row) { |
|
|
docEngineer2RowDblclick (row) { |
|
|
this.modalData.docEngineer2 = row.username + '-' + row.userDisplay |
|
|
this.modalData.docEngineer2 = row.username + '-' + row.userDisplay |
|
|
this.modalData.docEngineer2Name = this.modalData.docEngineer2.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.docEngineer2Name = this.getUserDisplayName(this.modalData.docEngineer2) |
|
|
this.docEngineer2Flag = false |
|
|
this.docEngineer2Flag = false |
|
|
}, |
|
|
}, |
|
|
closeClear () { |
|
|
closeClear () { |
|
|
@ -4830,52 +4847,52 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
updateBy: this.$store.state.user.name, |
|
|
updateBy: this.$store.state.user.name, |
|
|
} |
|
|
} |
|
|
if (row.cQualityEngineer4 != null && row.cQualityEngineer4 !== ''){ |
|
|
if (row.cQualityEngineer4 != null && row.cQualityEngineer4 !== ''){ |
|
|
this.modalData.cQualityEngineer4Name= row.cQualityEngineer4.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer4Name = this.getUserDisplayName(row.cQualityEngineer4) |
|
|
} else { |
|
|
} else { |
|
|
this.modalData.cQualityEngineer4 = '' |
|
|
this.modalData.cQualityEngineer4 = '' |
|
|
} |
|
|
} |
|
|
if (row.cQualityEngineer5 != null && row.cQualityEngineer5 !== ''){ |
|
|
if (row.cQualityEngineer5 != null && row.cQualityEngineer5 !== ''){ |
|
|
this.modalData.cQualityEngineer5Name= row.cQualityEngineer5.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer5Name = this.getUserDisplayName(row.cQualityEngineer5) |
|
|
} else { |
|
|
} else { |
|
|
this.modalData.cQualityEngineer5 = '' |
|
|
this.modalData.cQualityEngineer5 = '' |
|
|
} |
|
|
} |
|
|
if (row.cQualityEngineer6 != null && row.cQualityEngineer6 !== ''){ |
|
|
if (row.cQualityEngineer6 != null && row.cQualityEngineer6 !== ''){ |
|
|
this.modalData.cQualityEngineer6Name= row.cQualityEngineer6.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer6Name = this.getUserDisplayName(row.cQualityEngineer6) |
|
|
} else { |
|
|
} else { |
|
|
this.modalData.cQualityEngineer6 = '' |
|
|
this.modalData.cQualityEngineer6 = '' |
|
|
} |
|
|
} |
|
|
if (row.docEngineer != null && row.docEngineer !== ''){ |
|
|
if (row.docEngineer != null && row.docEngineer !== ''){ |
|
|
this.modalData.docEngineerName= row.docEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.docEngineerName = this.getUserDisplayName(row.docEngineer) |
|
|
} else { |
|
|
} else { |
|
|
this.modalData.docEngineer = '' |
|
|
this.modalData.docEngineer = '' |
|
|
} |
|
|
} |
|
|
if (row.docEngineer2 != null && row.docEngineer2 !== ''){ |
|
|
if (row.docEngineer2 != null && row.docEngineer2 !== ''){ |
|
|
this.modalData.docEngineer2Name= row.docEngineer2.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.docEngineer2Name = this.getUserDisplayName(row.docEngineer2) |
|
|
} else { |
|
|
} else { |
|
|
this.modalData.docEngineer2 = '' |
|
|
this.modalData.docEngineer2 = '' |
|
|
} |
|
|
} |
|
|
if (row.ipqcHardTag != null && row.ipqcHardTag !== ''){ |
|
|
if (row.ipqcHardTag != null && row.ipqcHardTag !== ''){ |
|
|
this.modalData.ipqcHardTagName = row.ipqcHardTag.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.ipqcHardTagName = this.getUserDisplayName(row.ipqcHardTag) |
|
|
} else { |
|
|
} else { |
|
|
this.modalData.ipqcHardTag = '' |
|
|
this.modalData.ipqcHardTag = '' |
|
|
} |
|
|
} |
|
|
if (row.cQualityEngineer7 != null && row.cQualityEngineer7 !== ''){ |
|
|
if (row.cQualityEngineer7 != null && row.cQualityEngineer7 !== ''){ |
|
|
this.modalData.cQualityEngineer7Name = row.cQualityEngineer7.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer7Name = this.getUserDisplayName(row.cQualityEngineer7) |
|
|
} else { |
|
|
} else { |
|
|
this.modalData.cQualityEngineer7 = '' |
|
|
this.modalData.cQualityEngineer7 = '' |
|
|
} |
|
|
} |
|
|
if (row.qcEngineer != null && row.qcEngineer !== ''){ |
|
|
if (row.qcEngineer != null && row.qcEngineer !== ''){ |
|
|
this.modalData.qcEngineerName = row.qcEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.qcEngineerName = this.getUserDisplayName(row.qcEngineer) |
|
|
} else { |
|
|
} else { |
|
|
this.modalData.qcEngineer = '' |
|
|
this.modalData.qcEngineer = '' |
|
|
} |
|
|
} |
|
|
if (row.peEngineer != null && row.peEngineer !== ''){ |
|
|
if (row.peEngineer != null && row.peEngineer !== ''){ |
|
|
this.modalData.peEngineerName = row.peEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.peEngineerName = this.getUserDisplayName(row.peEngineer) |
|
|
} else { |
|
|
} else { |
|
|
this.modalData.peEngineer = '' |
|
|
this.modalData.peEngineer = '' |
|
|
} |
|
|
} |
|
|
if (row.eeEngineer != null && row.eeEngineer !== ''){ |
|
|
if (row.eeEngineer != null && row.eeEngineer !== ''){ |
|
|
this.modalData.eeEngineerName = row.eeEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.eeEngineerName = this.getUserDisplayName(row.eeEngineer) |
|
|
} else { |
|
|
} else { |
|
|
this.modalData.eeEngineer = '' |
|
|
this.modalData.eeEngineer = '' |
|
|
} |
|
|
} |
|
|
@ -4943,34 +4960,34 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
updateBy: this.$store.state.user.name, |
|
|
updateBy: this.$store.state.user.name, |
|
|
} |
|
|
} |
|
|
if (row.cQualityEngineer4 != null && row.cQualityEngineer4 !== ''){ |
|
|
if (row.cQualityEngineer4 != null && row.cQualityEngineer4 !== ''){ |
|
|
this.modalData.cQualityEngineer4Name= row.cQualityEngineer4.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer4Name = this.getUserDisplayName(row.cQualityEngineer4) |
|
|
} |
|
|
} |
|
|
if (row.cQualityEngineer5 != null && row.cQualityEngineer5 !== ''){ |
|
|
if (row.cQualityEngineer5 != null && row.cQualityEngineer5 !== ''){ |
|
|
this.modalData.cQualityEngineer5Name= row.cQualityEngineer5.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer5Name = this.getUserDisplayName(row.cQualityEngineer5) |
|
|
} |
|
|
} |
|
|
if (row.cQualityEngineer6 != null && row.cQualityEngineer6 !== ''){ |
|
|
if (row.cQualityEngineer6 != null && row.cQualityEngineer6 !== ''){ |
|
|
this.modalData.cQualityEngineer6Name= row.cQualityEngineer6.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer6Name = this.getUserDisplayName(row.cQualityEngineer6) |
|
|
} |
|
|
} |
|
|
if (row.docEngineer != null && row.docEngineer !== ''){ |
|
|
if (row.docEngineer != null && row.docEngineer !== ''){ |
|
|
this.modalData.docEngineerName= row.docEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.docEngineerName = this.getUserDisplayName(row.docEngineer) |
|
|
} |
|
|
} |
|
|
if (row.docEngineer2 != null && row.docEngineer2 !== ''){ |
|
|
if (row.docEngineer2 != null && row.docEngineer2 !== ''){ |
|
|
this.modalData.docEngineer2Name= row.docEngineer2.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.docEngineer2Name = this.getUserDisplayName(row.docEngineer2) |
|
|
} |
|
|
} |
|
|
if (row.ipqcHardTag != null && row.ipqcHardTag !== ''){ |
|
|
if (row.ipqcHardTag != null && row.ipqcHardTag !== ''){ |
|
|
this.modalData.ipqcHardTagName = row.ipqcHardTag.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.ipqcHardTagName = this.getUserDisplayName(row.ipqcHardTag) |
|
|
} |
|
|
} |
|
|
if (row.cQualityEngineer7 != null && row.cQualityEngineer7 !== ''){ |
|
|
if (row.cQualityEngineer7 != null && row.cQualityEngineer7 !== ''){ |
|
|
this.modalData.cQualityEngineer7Name = row.cQualityEngineer7.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.cQualityEngineer7Name = this.getUserDisplayName(row.cQualityEngineer7) |
|
|
} |
|
|
} |
|
|
if (row.qcEngineer != null && row.qcEngineer !== ''){ |
|
|
if (row.qcEngineer != null && row.qcEngineer !== ''){ |
|
|
this.modalData.qcEngineerName = row.qcEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.qcEngineerName = this.getUserDisplayName(row.qcEngineer) |
|
|
} |
|
|
} |
|
|
if (row.peEngineer != null && row.peEngineer !== ''){ |
|
|
if (row.peEngineer != null && row.peEngineer !== ''){ |
|
|
this.modalData.peEngineerName = row.peEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.peEngineerName = this.getUserDisplayName(row.peEngineer) |
|
|
} |
|
|
} |
|
|
if (row.eeEngineer != null && row.eeEngineer !== ''){ |
|
|
if (row.eeEngineer != null && row.eeEngineer !== ''){ |
|
|
this.modalData.eeEngineerName = row.eeEngineer.split('-')[1] // 截取用户名 |
|
|
|
|
|
|
|
|
this.modalData.eeEngineerName = this.getUserDisplayName(row.eeEngineer) |
|
|
} |
|
|
} |
|
|
if (this.modalData.sqemeEngineer) { |
|
|
if (this.modalData.sqemeEngineer) { |
|
|
this.modalData.sqemeEngineerName = this.getUserDisplayName(this.modalData.sqemeEngineer) |
|
|
this.modalData.sqemeEngineerName = this.getUserDisplayName(this.modalData.sqemeEngineer) |
|
|
@ -5030,9 +5047,11 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
switch (columnId) { |
|
|
switch (columnId) { |
|
|
case 1: |
|
|
case 1: |
|
|
this.columnList = data.rows |
|
|
this.columnList = data.rows |
|
|
|
|
|
this.refreshTableLayout('mainTable') |
|
|
break; |
|
|
break; |
|
|
case 2: |
|
|
case 2: |
|
|
this.columnPartList = data.rows |
|
|
this.columnPartList = data.rows |
|
|
|
|
|
this.refreshTableLayout('projectPartTable') |
|
|
break; |
|
|
break; |
|
|
// case 3: |
|
|
// case 3: |
|
|
// this.columnList2 = data.rows |
|
|
// this.columnList2 = data.rows |
|
|
@ -5069,9 +5088,11 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
switch (columnId) { |
|
|
switch (columnId) { |
|
|
case 1: |
|
|
case 1: |
|
|
this.columnList = data.rows |
|
|
this.columnList = data.rows |
|
|
|
|
|
this.refreshTableLayout('mainTable') |
|
|
break; |
|
|
break; |
|
|
case 2: |
|
|
case 2: |
|
|
this.columnPartList = data.rows |
|
|
this.columnPartList = data.rows |
|
|
|
|
|
this.refreshTableLayout('projectPartTable') |
|
|
break; |
|
|
break; |
|
|
// case 3: |
|
|
// case 3: |
|
|
// this.columnList2 = data.rows |
|
|
// this.columnList2 = data.rows |
|
|
|