|
@@ -227,7 +227,7 @@ export default {
|
|
|
value: _that.performanceModule
|
|
|
});
|
|
|
_that.versionNO = res.data.versionNO.toString();
|
|
|
- _that.storageOwnerInfo(res.data.ownerId,res.data.owner);
|
|
|
+ _that.storageOwnerInfo(res.data.ownerId,res.data.owner,res.data.ownerJobNumber,res.data.fullLevelDepartment);
|
|
|
} else {
|
|
|
_that.$message.error(res.message, 1);
|
|
|
}
|
|
@@ -239,7 +239,7 @@ export default {
|
|
|
_that.projectNo = res.data.projectNo;
|
|
|
_that.systemName = res.data.systemName;
|
|
|
_that.versionNO = res.data.versionNO.toString();
|
|
|
- _that.storageOwnerInfo(res.data.ownerId,res.data.owner);
|
|
|
+ _that.storageOwnerInfo(res.data.ownerId,res.data.owner,res.data.ownerJobNumber,res.data.fullLevelDepartment);
|
|
|
} else {
|
|
|
_that.$message.error(res.message, 1);
|
|
|
}
|
|
@@ -249,7 +249,7 @@ export default {
|
|
|
_that.$api.getComponentsDvpBasicInformation(data).then( res => {
|
|
|
if (res.flag) {
|
|
|
_that.projectNo = res.data.projectNo;
|
|
|
- _that.storageOwnerInfo(res.data.ownerId,res.data.owner);
|
|
|
+ _that.storageOwnerInfo(res.data.ownerId,res.data.owner,res.data.ownerJobNumber,res.data.fullLevelDepartment);
|
|
|
} else {
|
|
|
_that.$message.error(res.message,1);
|
|
|
}
|
|
@@ -640,7 +640,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
// 储存Owner信息
|
|
|
- storageOwnerInfo(ownerId,ownerName) {
|
|
|
+ storageOwnerInfo(ownerId, ownerName, ownerJobNumber, ownerFullDepartment) {
|
|
|
// 储存dvpOwnerId
|
|
|
this.$store.dispatch("dvp/set", {
|
|
|
key: "dvpOwnerId",
|
|
@@ -656,6 +656,16 @@ export default {
|
|
|
key: "ownerDepartmentId",
|
|
|
value: getUrlParam("departmentId")
|
|
|
});
|
|
|
+ // 储存ownerJobNumber
|
|
|
+ this.$store.dispatch("dvp/set", {
|
|
|
+ key: "ownerJobNumber",
|
|
|
+ value: ownerJobNumber
|
|
|
+ });
|
|
|
+ // 储存ownerFullDepartment
|
|
|
+ this.$store.dispatch("dvp/set", {
|
|
|
+ key: "ownerFullDepartment",
|
|
|
+ value: ownerFullDepartment
|
|
|
+ });
|
|
|
},
|
|
|
|
|
|
/**
|