{{ item.name }}
+ :key="item.id" @click.stop="clickButtonToUpload2(item.id)"> {{ item.name }}
@@ -382,14 +382,13 @@ export default {
}
},
downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
+ if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
+ this.$message.error('水印下载仅支持PDF,pdf格式文件')
} else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId;
+ if (attId != null && attId !== '') {
+ window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
} else {
- this.$message.error("请选择要下载的文件");
+ this.$message.error('请选择要下载的文件')
}
}
},
diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue
index 260c2adec..fe89b2cc7 100644
--- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue
@@ -40,16 +40,16 @@
{{ item.name }}
+ :key="item.id" @click.stop="clickButtonToUpload2(item.id)"> {{ item.name }}
@@ -452,14 +452,13 @@ export default {
}
},
downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
+ if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
+ this.$message.error('水印下载仅支持PDF,pdf格式文件')
} else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId;
+ if (attId != null && attId !== '') {
+ window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
} else {
- this.$message.error("请选择要下载的文件");
+ this.$message.error('请选择要下载的文件')
}
}
},
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue
index 8d7b18508..834de3ce9 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue
@@ -880,6 +880,7 @@ export default {
}else{
this.qdform = item.form
this.dataList =item.form.dataList
+ this.commentText = item.commentText
this.detailedId = item.form.detailedListId;
}
});
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue
index 009c75b08..4453cb081 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue
@@ -889,6 +889,7 @@ export default {
}else{
this.qdform = item.form
this.dataList =item.form.dataList
+ this.commentText = item.commentText
this.detailedId = item.form.detailedListId;
}
});
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue
index f8322e683..bcf44e540 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue
@@ -883,6 +883,7 @@ export default {
}else{
this.qdform = item.form
this.dataList =item.form.dataList
+ this.commentText = item.commentText
this.detailedId = item.form.detailedListId;
}
});
diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue
index 375ea86a9..d93411e8d 100644
--- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue
+++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue
@@ -596,7 +596,7 @@
useLevel: '',
isRelate: '',
esStandRelations: '',
- area: '',
+ area: [],
tsJson: '',
tsJsonName: '',
rqbJson: '',
@@ -838,6 +838,8 @@
url = 'esRevisePlan/es-revise-plan/addPlan'
tips = '添加'
}
+ let arr = JSON.parse(JSON.stringify(this.addForm))
+ arr.area = arr.area.join(',')
this.$http.post(url, this.addForm, {
_this: this
}, res => {
@@ -939,6 +941,16 @@
this.DrawerType = 'edit'
this.addDrawer = true
this.addForm = {
+ esMatingRelations: command[0].esMatingRelations,
+ technologic: command[0].technologic,
+ useLevel: command[0].useLevel,
+ isRelate: command[0].isRelate,
+ esStandRelations: command[0].esStandRelations,
+ area: command[0].area,
+ tsJson: command[0].tsJson,
+ tsJsonName: command[0].tsJsonName,
+ rqbJson: command[0].rqbJson,
+ rqbName: command[0].rqbName,
unitName:command[0].unitName,
id: command[0].id,
unit: command[0].unit, // 单位
@@ -954,6 +966,9 @@
drafterName: command[0].drafterName, // 起草人
drafter: command[0].drafter,
}
+ if (typeof (this.addForm.area) === 'string') {
+ this.addForm.area = command[0].area.split(',')
+ }
break
case '删除':
this.$confirm('您是否确认删除选中数据?', '提示', {
@@ -983,6 +998,9 @@
this.DrawerType = 'see'
this.addDrawer = true
this.addForm = command[0]
+ if (typeof (this.addForm.area) === 'string') {
+ this.addForm.area = command[0].area.split(',')
+ }
break
}
},
@@ -1008,7 +1026,6 @@
this.QCDWList = res.data.QCDW // 起草单位
this.standSystemOptions = res.data.TXLBBUSS // 体系结构
this.BZList = res.data.ENERGYTYPES
- console.log(this.BZList);
}, e => {
})
},