|
@@ -126,7 +126,7 @@
|
|
|
compareOptions.planInfo2 !== '' &&
|
|
|
compareOptions.planInfo2 !== null)
|
|
|
"
|
|
|
- style="width: 100%;margin-bottom:10px"
|
|
|
+ style="width: 100%; margin-bottom: 10px"
|
|
|
>
|
|
|
<tr>
|
|
|
<th class="first">组织</th>
|
|
@@ -675,6 +675,7 @@ export default {
|
|
|
this.options.dataset.source[0][1] = this.compareOptionsPlan1.planName + " ";
|
|
|
this.options.dataset.source[0][2] = this.compareOptionsPlan2.planName;
|
|
|
}
|
|
|
+
|
|
|
if (this.firstParams == 1) {
|
|
|
//this.compareOptions.orgInfo1.orgNo
|
|
|
//this.compareOptionsOrg1.orgNo
|
|
@@ -686,18 +687,27 @@ export default {
|
|
|
//查询出来orgNo
|
|
|
//查询组织的orgNo
|
|
|
|
|
|
- this.queryCompletePople(
|
|
|
- this.compareOptionsPlan1.id,
|
|
|
- [this.compareOptionsPlan1.orgNo],
|
|
|
- 1
|
|
|
- );
|
|
|
+ // this.queryCompletePople(
|
|
|
+ // this.compareOptionsPlan1.id,
|
|
|
+ // [this.compareOptionsPlan1.orgNo],
|
|
|
+ // 1
|
|
|
+ // );
|
|
|
+ let orgTmp = "";
|
|
|
+ for (let i = 0; i < this.organizationsList.length; i++) {
|
|
|
+ if (this.organizationsList[i].id == this.orgInfo1) {
|
|
|
+ orgTmp = this.organizationsList[i].orgNo;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ this.queryCompletePople(this.compareOptionsPlan1.id, orgTmp, 1);
|
|
|
//查询出来需要的ID
|
|
|
//查询出来orgNo
|
|
|
- this.queryCompletePople(
|
|
|
- this.compareOptionsPlan2.id,
|
|
|
- [this.compareOptionsPlan2.orgNo],
|
|
|
- 2
|
|
|
- );
|
|
|
+ this.queryCompletePople(this.compareOptionsPlan2.id, orgTmp, 2);
|
|
|
+ // this.queryCompletePople(
|
|
|
+ // this.compareOptionsPlan2.id,
|
|
|
+ // [this.compareOptionsPlan2.orgNo],
|
|
|
+ // 2
|
|
|
+ // );
|
|
|
}
|
|
|
},
|
|
|
|
|
@@ -824,7 +834,7 @@ export default {
|
|
|
|
|
|
td.warn {
|
|
|
// background: red;
|
|
|
- color:red;
|
|
|
+ color: red;
|
|
|
}
|
|
|
}
|
|
|
}
|