|
@@ -136,25 +136,53 @@ export default { |
|
@@ -136,25 +136,53 @@ export default { |
136
|
let srcName=origin+'/#/bigscreen/viewer?reportCode=';
|
136
|
let srcName=origin+'/#/bigscreen/viewer?reportCode=';
|
137
|
// serviceCode,resourceCode
|
137
|
// serviceCode,resourceCode
|
138
|
let codeArr=[];
|
138
|
let codeArr=[];
|
|
|
139
|
+ let codeArrSecond=[];
|
139
|
if(this.activeName=='bos'){
|
140
|
if(this.activeName=='bos'){
|
140
|
codeArr=this.optionsSetup.serviceCode.split(',');
|
141
|
codeArr=this.optionsSetup.serviceCode.split(',');
|
|
|
142
|
+ codeArrSecond=this.optionsSetup.serviceSecondCode?this.optionsSetup.serviceSecondCode.split(','):[];
|
141
|
}else{
|
143
|
}else{
|
142
|
codeArr=this.optionsSetup.resourceCode.split(',');
|
144
|
codeArr=this.optionsSetup.resourceCode.split(',');
|
|
|
145
|
+ codeArrSecond=this.optionsSetup.resourceSecondCode?this.optionsSetup.resourceSecondCode.split(','):[];
|
|
|
146
|
+
|
143
|
}
|
147
|
}
|
144
|
// if(level>0){
|
148
|
// if(level>0){
|
145
|
if(data.propType){
|
149
|
if(data.propType){
|
146
|
if(data.propType=='busType'){
|
150
|
if(data.propType=='busType'){
|
147
|
srcName+=codeArr[0];
|
151
|
srcName+=codeArr[0];
|
148
|
}else if(data.propType=='resType'){
|
152
|
}else if(data.propType=='resType'){
|
|
|
153
|
+ if(data.isOracle==1){
|
|
|
154
|
+ srcName+=codeArrSecond[0];
|
|
|
155
|
+ }else if(data.isOracle==2){
|
|
|
156
|
+ srcName+=codeArrSecond[1];
|
|
|
157
|
+ }else if(data.isOracle==3){
|
|
|
158
|
+ srcName+=codeArrSecond[2];
|
|
|
159
|
+ }else{
|
149
|
srcName+=codeArr[1];
|
160
|
srcName+=codeArr[1];
|
|
|
161
|
+ }
|
150
|
}else if(data.propType=='res'){
|
162
|
}else if(data.propType=='res'){
|
151
|
srcName+=codeArr[2];
|
163
|
srcName+=codeArr[2];
|
152
|
}else{
|
164
|
}else{
|
|
|
165
|
+ if(data.isOracle==1){
|
|
|
166
|
+ srcName+=codeArrSecond[0];
|
|
|
167
|
+ }else if(data.isOracle==2){
|
|
|
168
|
+ srcName+=codeArrSecond[1];
|
|
|
169
|
+ }else if(data.isOracle==3){
|
|
|
170
|
+ srcName+=codeArrSecond[2];
|
|
|
171
|
+ }else{
|
153
|
srcName+=codeArr[0];
|
172
|
srcName+=codeArr[0];
|
154
|
}
|
173
|
}
|
|
|
174
|
+ }
|
|
|
175
|
+ }else{
|
|
|
176
|
+ if(data.isOracle==1){
|
|
|
177
|
+ srcName+=codeArrSecond[0];
|
|
|
178
|
+ }else if(data.isOracle==2){
|
|
|
179
|
+ srcName+=codeArrSecond[1];
|
|
|
180
|
+ }else if(data.isOracle==3){
|
|
|
181
|
+ srcName+=codeArrSecond[2];
|
155
|
}else{
|
182
|
}else{
|
156
|
srcName+=codeArr[0];
|
183
|
srcName+=codeArr[0];
|
157
|
}
|
184
|
}
|
|
|
185
|
+ }
|
158
|
|
186
|
|
159
|
/*if(data.id==1){
|
187
|
/*if(data.id==1){
|
160
|
srcName+='service_capacity_analysis';
|
188
|
srcName+='service_capacity_analysis';
|