|
@@ -265,18 +265,19 @@ export default {
|
|
|
*/
|
|
|
async getshProjectinformations() {
|
|
|
let Projectinformations = await NoAssociatedList();
|
|
|
+var data=[];
|
|
|
+ for (var index = 0; index < Projectinformations.rows.length; index++) {
|
|
|
+ var c = Projectinformations.rows[index];
|
|
|
+ if (c.ztConstructionmodelList.length > 0) {
|
|
|
+ c.name = c.projectname;
|
|
|
+ c.ztConstructionmodelList.forEach((element) => {
|
|
|
+ element.name = element.modelname;
|
|
|
+ });
|
|
|
+data.push(c);
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- let data = Projectinformations.rows.map((c) => {
|
|
|
- if (c.ztConstructionmodelList.length > 0) {
|
|
|
- c.name = c.projectname;
|
|
|
- c.ztConstructionmodelList.forEach((element) => {
|
|
|
- element.name = element.modelname;
|
|
|
- });
|
|
|
- return c;
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
- return data;
|
|
|
+ return data;
|
|
|
},
|
|
|
async changeIsbjmx(val) {
|
|
|
debugger;
|