修改bug

This commit is contained in:
zhuangxinwei
2022-09-30 15:03:34 +08:00
parent ff7e9905d9
commit fbe18d1bed
16 changed files with 245 additions and 57 deletions
@@ -340,14 +340,33 @@ export default {
}, },
// 点击查看 // 点击查看
handlePreview(item) { handlePreview(item) {
let routeUrl = this.$router.resolve({ let replaceStandInfoEO ={}
name: "OtherStandardDetails", replaceStandInfoEO.standNumber = item.standNumber
params: { this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
id: item.key || item.standId, _this: this
pageType: item.standType + '_STAND' }, res => {
if (res.data != null) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: res.data.id,
pageType:item.standType + '_STAND'
}
})
window.open(routeUrl.href, '_blank')
} else {
this.$message.error(res.message)
} }
}); }, e => {
window.open(routeUrl.href, "_blank"); })
// let routeUrl = this.$router.resolve({
// name: "OtherStandardDetails",
// params: {
// id: item.key || item.standId,
// pageType: item.standType + '_STAND'
// }
// });
// window.open(routeUrl.href, "_blank");
}, },
//查询项目下的标准 //查询项目下的标准
getStandData() { getStandData() {
@@ -907,14 +907,33 @@ export default {
}, },
// 点击查看 // 点击查看
handlePreview(item) { handlePreview(item) {
let routeUrl = this.$router.resolve({ // let routeUrl = this.$router.resolve({
name: "OtherStandardDetails", // name: "OtherStandardDetails",
params: { // params: {
id: item.standId, // id: item.standId,
pageType: item.standType + '_STAND' // pageType: item.standType + '_STAND'
// }
// });
// window.open(routeUrl.href, "_blank");
let replaceStandInfoEO ={}
replaceStandInfoEO.standNumber = item.standNumber
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
_this: this
}, res => {
if (res.data != null) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: res.data.id,
pageType:item.standType + '_STAND'
}
})
window.open(routeUrl.href, '_blank')
} else {
this.$message.error(res.message)
} }
}); }, e => {
window.open(routeUrl.href, "_blank"); })
}, },
choiceZRR(type, title, id) { choiceZRR(type, title, id) {
this.nodeList = []; this.nodeList = [];
@@ -260,14 +260,33 @@ export default {
}, },
// 点击查看 // 点击查看
handlePreview(item) { handlePreview(item) {
let routeUrl = this.$router.resolve({ let replaceStandInfoEO ={}
name: "OtherStandardDetails", replaceStandInfoEO.standNumber = item.standNumber
params: { this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
id: item.standId, _this: this
pageType: item.standType + '_STAND' }, res => {
if (res.data != null) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: res.data.id,
pageType:item.standType + '_STAND'
}
})
window.open(routeUrl.href, '_blank')
} else {
this.$message.error(res.message)
} }
}); }, e => {
window.open(routeUrl.href, "_blank"); })
// let routeUrl = this.$router.resolve({
// name: "OtherStandardDetails",
// params: {
// id: item.standId,
// pageType: item.standType + '_STAND'
// }
// });
// window.open(routeUrl.href, "_blank");
}, },
//查询项目下的标准 //查询项目下的标准
getStandData() { getStandData() {
@@ -684,14 +684,33 @@ export default {
}, },
// 点击查看 // 点击查看
handlePreview(item) { handlePreview(item) {
let routeUrl = this.$router.resolve({ let replaceStandInfoEO ={}
name: "OtherStandardDetails", replaceStandInfoEO.standNumber = item.standNumber
params: { this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
id: item.standId, _this: this
pageType: item.standType + '_STAND' }, res => {
if (res.data != null) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: res.data.id,
pageType:item.standType + '_STAND'
}
})
window.open(routeUrl.href, '_blank')
} else {
this.$message.error(res.message)
} }
}); }, e => {
window.open(routeUrl.href, "_blank"); })
// let routeUrl = this.$router.resolve({
// name: "OtherStandardDetails",
// params: {
// id: item.standId,
// pageType: item.standType + '_STAND'
// }
// });
// window.open(routeUrl.href, "_blank");
}, },
itemsTextDialog(itemsNum, text) { itemsTextDialog(itemsNum, text) {
this.itemsTextDialogs = true this.itemsTextDialogs = true
@@ -378,14 +378,33 @@ export default {
}, },
// 点击查看 // 点击查看
handlePreview(item) { handlePreview(item) {
let routeUrl = this.$router.resolve({ let replaceStandInfoEO ={}
name: "OtherStandardDetails", replaceStandInfoEO.standNumber = item.standNumber
params: { this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
id: item.key || item.standId, _this: this
pageType: item.standType + '_STAND' }, res => {
if (res.data != null) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: res.data.id,
pageType:item.standType + '_STAND'
}
})
window.open(routeUrl.href, '_blank')
} else {
this.$message.error(res.message)
} }
}); }, e => {
window.open(routeUrl.href, "_blank"); })
// let routeUrl = this.$router.resolve({
// name: "OtherStandardDetails",
// params: {
// id: item.key || item.standId,
// pageType: item.standType + '_STAND'
// }
// });
// window.open(routeUrl.href, "_blank");
}, },
//查询项目下的标准 //查询项目下的标准
getStandData() { getStandData() {
@@ -375,14 +375,33 @@ export default {
}, },
// 点击查看 // 点击查看
handlePreview(item) { handlePreview(item) {
let routeUrl = this.$router.resolve({ let replaceStandInfoEO ={}
name: "OtherStandardDetails", replaceStandInfoEO.standNumber = item.standNumber
params: { this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
id: item.key || item.standId, _this: this
pageType: item.standType + '_STAND' }, res => {
if (res.data != null) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: res.data.id,
pageType:item.standType + '_STAND'
}
})
window.open(routeUrl.href, '_blank')
} else {
this.$message.error(res.message)
} }
}); }, e => {
window.open(routeUrl.href, "_blank"); })
// let routeUrl = this.$router.resolve({
// name: "OtherStandardDetails",
// params: {
// id: item.key || item.standId,
// pageType: item.standType + '_STAND'
// }
// });
// window.open(routeUrl.href, "_blank");
}, },
//查询项目下的标准 //查询项目下的标准
getStandData() { getStandData() {
@@ -159,7 +159,7 @@
</div> </div>
</el-form-item> </el-form-item>
<el-form-item prop="fbgbjbdName" class="add-form-item form-item-disabled"> <el-form-item prop="fbgbjbdName" class="add-form-item form-item-disabled">
<span slot="label" title="发布稿(原文)" style="width: 112px">发布稿</span> <span slot="label" title="发布稿(原文)" style="width: 112px">发布稿</span>
<div v-if="fbgbjbdFileMap.length>0" v-for="(value,index) in this.fbgbjbdFileMap" :key="index" style="cursor: pointer;color: #00b7ee"> <div v-if="fbgbjbdFileMap.length>0" v-for="(value,index) in this.fbgbjbdFileMap" :key="index" style="cursor: pointer;color: #00b7ee">
<span style="" @click="downloadFile('fbg',value.id)" :title="value.name">{{ value.name }}</span> <span style="" @click="downloadFile('fbg',value.id)" :title="value.name">{{ value.name }}</span>
</div> </div>
@@ -787,6 +787,7 @@ export default {
this.xgdFileMap = this.assemble(processForm.xgd, processForm.xgdName); this.xgdFileMap = this.assemble(processForm.xgd, processForm.xgdName);
this.fbgbjbdFileMap = this.assemble(processForm.fbgbjbd, processForm.fbgbjbdName); this.fbgbjbdFileMap = this.assemble(processForm.fbgbjbd, processForm.fbgbjbdName);
this.fbgywbdFileMap = this.assemble(processForm.fbgywbd, processForm.fbgywbdName);
// fbgbjbdFileMap: {}, // fbgbjbdFileMap: {},
this.bpgFileMap = this.assemble(processForm.bpg, processForm.bpgName); this.bpgFileMap = this.assemble(processForm.bpg, processForm.bpgName);
// bpgFileMap: {}, // bpgFileMap: {},
@@ -327,6 +327,11 @@
padding: 0 20px 0; padding: 0 20px 0;
} }
} }
/deep/.van-dialog__content {
max-height: 400px;
padding: 10px;
overflow: auto;
}
.fileClass { .fileClass {
cursor: pointer; cursor: pointer;
} }
@@ -405,6 +405,11 @@
padding: 0 20px 0; padding: 0 20px 0;
} }
} }
/deep/.van-dialog__content {
max-height: 400px;
padding: 10px;
overflow: auto;
}
.fileClass { .fileClass {
cursor: pointer; cursor: pointer;
} }
@@ -387,6 +387,11 @@
padding: 0 20px 0; padding: 0 20px 0;
} }
} }
/deep/.van-dialog__content {
max-height: 400px;
padding: 10px;
overflow: auto;
}
.fileClass { .fileClass {
cursor: pointer; cursor: pointer;
} }
@@ -482,6 +482,11 @@
padding: 0 20px 0; padding: 0 20px 0;
} }
} }
/deep/.van-dialog__content {
max-height: 400px;
padding: 10px;
overflow: auto;
}
.fileClass { .fileClass {
cursor: pointer; cursor: pointer;
} }
@@ -416,6 +416,11 @@
padding: 0 20px 0; padding: 0 20px 0;
} }
} }
/deep/.van-dialog__content {
max-height: 400px;
padding: 10px;
overflow: auto;
}
.fileClass { .fileClass {
cursor: pointer; cursor: pointer;
} }
@@ -418,6 +418,11 @@
padding: 0 20px 0; padding: 0 20px 0;
} }
} }
/deep/.van-dialog__content {
max-height: 400px;
padding: 10px;
overflow: auto;
}
.fileClass { .fileClass {
cursor: pointer; cursor: pointer;
} }
@@ -432,6 +432,11 @@
padding: 0 20px 0; padding: 0 20px 0;
} }
} }
/deep/.van-dialog__content {
max-height: 400px;
padding: 10px;
overflow: auto;
}
.fileClass { .fileClass {
cursor: pointer; cursor: pointer;
} }
@@ -334,14 +334,33 @@ export default {
}, },
// 点击查看 // 点击查看
handlePreview(item) { handlePreview(item) {
let routeUrl = this.$router.resolve({ let replaceStandInfoEO ={}
name: "OtherStandardDetails", replaceStandInfoEO.standNumber = item.standNumber
params: { this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
id: item.standId, _this: this
pageType: "INLAND_STAND" }, res => {
if (res.data != null) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: res.data.id,
pageType:"INLAND_STAND"
}
})
window.open(routeUrl.href, '_blank')
} else {
this.$message.error(res.message)
} }
}); }, e => {
window.open(routeUrl.href, "_blank"); })
// let routeUrl = this.$router.resolve({
// name: "OtherStandardDetails",
// params: {
// id: item.standId,
// pageType: "INLAND_STAND"
// }
// });
// window.open(routeUrl.href, "_blank");
}, },
//查询项目下的标准 //查询项目下的标准
getStandData() { getStandData() {
@@ -332,14 +332,33 @@ export default {
}, },
// 点击查看 // 点击查看
handlePreview(item) { handlePreview(item) {
let routeUrl = this.$router.resolve({ let replaceStandInfoEO ={}
name: "OtherStandardDetails", replaceStandInfoEO.standNumber = item.standNumber
params: { this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
id: item.standId, _this: this
pageType: "INLAND_STAND" }, res => {
if (res.data != null) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: res.data.id,
pageType:"INLAND_STAND"
}
})
window.open(routeUrl.href, '_blank')
} else {
this.$message.error(res.message)
} }
}); }, e => {
window.open(routeUrl.href, "_blank"); })
// let routeUrl = this.$router.resolve({
// name: "OtherStandardDetails",
// params: {
// id: item.standId,
// pageType: "INLAND_STAND"
// }
// });
// window.open(routeUrl.href, "_blank");
}, },
//查询项目下的标准 //查询项目下的标准
getStandData() { getStandData() {