|
@@ -1141,7 +1141,7 @@ import myRadio from "@/HDrpManagement/customerPortrait/modules/myRadio";
|
|
|
export default {
|
|
|
name: "index",
|
|
|
components: { showIsNone, pageTable, myCard, myTag, myRadio, myNewCard },
|
|
|
- props: ["data"],
|
|
|
+ props: ["data","hrid"],
|
|
|
data() {
|
|
|
return {
|
|
|
dialogFormVisible: false,
|
|
@@ -1151,7 +1151,7 @@ export default {
|
|
|
id: 20230717100404,
|
|
|
content: {
|
|
|
type: 1,
|
|
|
- hrid: this.$route.query.id,
|
|
|
+ hrid: this.hrid?this.hrid:this.$route.query.id,
|
|
|
where: {
|
|
|
begdate: "",
|
|
|
enddate: "",
|
|
@@ -1165,7 +1165,7 @@ export default {
|
|
|
pageNumber: 1,
|
|
|
pageSize: 20,
|
|
|
type: 1,
|
|
|
- hrid: this.$route.query.id,
|
|
|
+ hrid: this.hrid?this.hrid:this.$route.query.id,
|
|
|
where: {
|
|
|
type: "",
|
|
|
begdate: "",
|
|
@@ -1187,7 +1187,7 @@ export default {
|
|
|
pageNumber: 1,
|
|
|
pageSize: 20,
|
|
|
type: 1,
|
|
|
- hrid: this.$route.query.id,
|
|
|
+ hrid: this.hrid?this.hrid:this.$route.query.id,
|
|
|
where: {
|
|
|
begdate: "",
|
|
|
enddate: "",
|
|
@@ -1201,7 +1201,7 @@ export default {
|
|
|
pageNumber: 1,
|
|
|
pageSize: 20,
|
|
|
type: 1,
|
|
|
- hrid: this.$route.query.id,
|
|
|
+ hrid: this.hrid?this.hrid:this.$route.query.id,
|
|
|
where: {
|
|
|
begdate: "",
|
|
|
enddate: "",
|
|
@@ -1215,7 +1215,7 @@ export default {
|
|
|
pageNumber: 1,
|
|
|
pageSize: 20,
|
|
|
type: 1,
|
|
|
- hrid: this.$route.query.id,
|
|
|
+ hrid: this.hrid?this.hrid:this.$route.query.id,
|
|
|
where: {
|
|
|
begdate: "",
|
|
|
enddate: "",
|
|
@@ -1229,7 +1229,7 @@ export default {
|
|
|
pageNumber: 1,
|
|
|
pageSize: 20,
|
|
|
type: 1,
|
|
|
- hrid: this.$route.query.id,
|
|
|
+ hrid: this.hrid?this.hrid:this.$route.query.id,
|
|
|
where: {
|
|
|
begdate: "",
|
|
|
enddate: "",
|
|
@@ -1243,7 +1243,7 @@ export default {
|
|
|
pageNumber: 1,
|
|
|
pageSize: 20,
|
|
|
type: 1,
|
|
|
- hrid: this.$route.query.id,
|
|
|
+ hrid: this.hrid?this.hrid:this.$route.query.id,
|
|
|
where: {
|
|
|
begdate: "",
|
|
|
enddate: "",
|
|
@@ -1257,7 +1257,7 @@ export default {
|
|
|
pageNumber: 1,
|
|
|
pageSize: 20,
|
|
|
type: 1,
|
|
|
- hrid: this.$route.query.id,
|
|
|
+ hrid: this.hrid?this.hrid:this.$route.query.id,
|
|
|
where: {
|
|
|
begdate: "",
|
|
|
enddate: "",
|
|
@@ -1271,7 +1271,7 @@ export default {
|
|
|
pageNumber: 1,
|
|
|
pageSize: 20,
|
|
|
type: 1,
|
|
|
- hrid: this.$route.query.id,
|
|
|
+ hrid: this.hrid?this.hrid:this.$route.query.id,
|
|
|
where: {
|
|
|
type: "",
|
|
|
begdate: "",
|
|
@@ -1286,7 +1286,7 @@ export default {
|
|
|
pageNumber: 1,
|
|
|
pageSize: 20,
|
|
|
type: 1,
|
|
|
- hrid: this.$route.query.id,
|
|
|
+ hrid: this.hrid?this.hrid:this.$route.query.id,
|
|
|
where: {
|
|
|
type: "",
|
|
|
begdate: "",
|
|
@@ -1305,11 +1305,10 @@ export default {
|
|
|
let res = await this.$api.requested({
|
|
|
id: 20230717100304,
|
|
|
content: {
|
|
|
- hrid: this.$route.query.id,
|
|
|
+ hrid: this.hrid?this.hrid:this.$route.query.id,
|
|
|
},
|
|
|
});
|
|
|
- this.baseInfo = res.data[0];
|
|
|
- console.log(this.baseInfo, "基本信息");
|
|
|
+ this.baseInfo = res.data.length > 0?res.data[0]:'';
|
|
|
},
|
|
|
async getPerformance() {
|
|
|
let res = await this.$api.requested(this.param1);
|