diff --git a/src/assets/js/api/project.js b/src/assets/js/api/project.js
index 08a00806..2da81a83 100644
--- a/src/assets/js/api/project.js
+++ b/src/assets/js/api/project.js
@@ -176,6 +176,9 @@ export const setConstructionPlanLedgerDelete = data => post('/xmgl/constructionP
export const getConstructionPlanLedgerSetPage = data => get('/xmgl/constructionPlanLedgerSet/page', data);
// 保存施工方案台账设置列表信息
export const setConstructionPlanLedgerSaveList = data => post('/xmgl/constructionPlanLedgerSet/saveList', data);
+// 下载施工设备机具图片信息
+export const downloadConstructionPlanLedgerImage = data => post('/xmgl/constructionPlanLedger/downloadPicInfo', data);
+
// 文明施工
// 分页列表查询现场会、曝光栏、专题活动信息
diff --git a/src/views/projectFront/buildEquipToolManage/equipmentManage.vue b/src/views/projectFront/buildEquipToolManage/equipmentManage.vue
index 439e0094..03df29e1 100644
--- a/src/views/projectFront/buildEquipToolManage/equipmentManage.vue
+++ b/src/views/projectFront/buildEquipToolManage/equipmentManage.vue
@@ -587,6 +587,16 @@ export default {
watch: {
classificationName(val) {
this.$refs.tree.filter(val)
+ },
+ dialogFormVisible: {
+ handler(val) {
+ if (val) {
+ this.$nextTick(() => {
+ // 设置树状选中样式
+ this.$refs.tree.setCurrentKey(this.checkedNodeData.id)
+ })
+ }
+ }
}
},
created() {
@@ -659,11 +669,11 @@ export default {
document.body.appendChild(iframe);
iframe.contentDocument.write(printContentHtml);
iframe.contentDocument.close();
- iframe.onload = function(){ //解决图片显示不了的问题
+ iframe.onload = function () { //解决图片显示不了的问题
iframe.contentWindow.print();
document.body.removeChild(iframe);
};
-
+
},
//生成 二维码
bindQRCode(id) {
@@ -687,7 +697,7 @@ export default {
},
// 批量打印
bulkPrint() {
- downloadConstructionEquipmentCheckFile(1)
+ this.downloadConstructionEquipmentCheckFile(1)
},
downloadConstructionEquipmentCheckFile(type) {
const ids = type == 1 ? this.downloadPicInfoList.map((item) => item.id).join(",") : this.detailId;
@@ -733,6 +743,10 @@ export default {
}, ...res.result];
this.getCheckedNode(this.listData[0]);
}
+ this.$nextTick(() => {
+ // todo 在这里设置
+ this.$refs.tree.setCurrentKey(this.listData[0].id)
+ })
} else {
this.listData = []
}
diff --git a/src/views/projectFront/constructionManage/schemeLedger.vue b/src/views/projectFront/constructionManage/schemeLedger.vue
index b59d0877..276fc214 100644
--- a/src/views/projectFront/constructionManage/schemeLedger.vue
+++ b/src/views/projectFront/constructionManage/schemeLedger.vue
@@ -64,11 +64,14 @@