修改车型项目库相关
This commit is contained in:
@@ -585,16 +585,23 @@ export default {
|
|||||||
ids+=',\''+this.selectList[i].standId+'\''
|
ids+=',\''+this.selectList[i].standId+'\''
|
||||||
}
|
}
|
||||||
const exportURL = interfaceUrl + 'sarStandProjectLibrary/exportStandAttrInfoExcel?' +
|
const exportURL = interfaceUrl + 'sarStandProjectLibrary/exportStandAttrInfoExcel?' +
|
||||||
'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName
|
'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName + '&id=' + this.localProEO.id
|
||||||
console.log(exportURL + "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM")
|
console.log(exportURL)
|
||||||
window.open(exportURL)
|
window.open(exportURL)
|
||||||
this.$message.success('导出信息成功')
|
this.$message.success('导出信息成功')
|
||||||
}
|
}
|
||||||
} else if (this.saveExportType === 'all') {
|
} else if (this.saveExportType === 'all') {
|
||||||
console.log(this.selectList);
|
console.log(this.selectList);
|
||||||
|
let ids = ''
|
||||||
|
if (this.selectList.length === 0) {
|
||||||
|
ids='\''+this.dataList[0].standId+'\''
|
||||||
|
for(let i=1;i<this.dataList.length;i++){
|
||||||
|
ids+=',\''+this.dataList[i].standId+'\''
|
||||||
|
}
|
||||||
|
}
|
||||||
const exportURL = interfaceUrl + 'sarStandProjectLibrary/exportStandAttrInfoExcel?' +
|
const exportURL = interfaceUrl + 'sarStandProjectLibrary/exportStandAttrInfoExcel?' +
|
||||||
'exportType' + this.saveExportType + '&ids=' + this.selectList.join(',') + '&exportName=' + this.exportName
|
'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName + '&id=' + this.localProEO.id
|
||||||
console.log(exportURL + "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM")
|
console.log(exportURL)
|
||||||
window.open(exportURL)
|
window.open(exportURL)
|
||||||
this.$message.success('导出信息成功')
|
this.$message.success('导出信息成功')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,7 +116,7 @@
|
|||||||
prop="standId"
|
prop="standId"
|
||||||
fixed="left"
|
fixed="left"
|
||||||
width="180"
|
width="180"
|
||||||
label="标准编号">
|
label="标准号">
|
||||||
<!-- <template slot-scope="scope">-->
|
<!-- <template slot-scope="scope">-->
|
||||||
<!-- <a @click="detailsStandard(scope.row)" class="table-jump">{{ scope.row.standId }}</a>-->
|
<!-- <a @click="detailsStandard(scope.row)" class="table-jump">{{ scope.row.standId }}</a>-->
|
||||||
<!--<!– {{ scope.row.standId }}–>-->
|
<!--<!– {{ scope.row.standId }}–>-->
|
||||||
@@ -229,7 +229,7 @@
|
|||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
:model="historySeeForm"
|
:model="historySeeForm"
|
||||||
>
|
>
|
||||||
<el-form-item class="add-form-item" label="标准编号:">
|
<el-form-item class="add-form-item" label="标准号:">
|
||||||
<div class="seeItem">{{historySeeForm.standId}}</div>
|
<div class="seeItem">{{historySeeForm.standId}}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="标准名称:">
|
<el-form-item class="add-form-item" label="标准名称:">
|
||||||
|
|||||||
Reference in New Issue
Block a user