修改清单相关的bug
This commit is contained in:
@@ -445,6 +445,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="标准实施日期" prop="putTime">
|
||||
<el-date-picker
|
||||
clearable
|
||||
v-model.trim="editRowData.ssrq"
|
||||
type="dates"
|
||||
value-format="yyyy-MM-dd"
|
||||
|
||||
@@ -172,12 +172,6 @@
|
||||
align="center"
|
||||
width="210px"
|
||||
label="标准实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.ssrq === null">
|
||||
{{ scope.row.ssrq }}
|
||||
</span>
|
||||
<span v-else>{{ scope.row.ssrq.slice(0, 10) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
@@ -610,18 +604,34 @@ export default {
|
||||
// 导出确定功能
|
||||
//确认导出
|
||||
exportTestItem() {
|
||||
if (this.saveExportType === "apart") {
|
||||
if (this.selectedList != null && this.selectedList != "") {
|
||||
if(this.sarAccessEO.sortKey === '1'){
|
||||
if (this.saveExportType === "apart") {
|
||||
if (this.selectedList != null && this.selectedList != "") {
|
||||
const exportURL = interfaceUrl + "sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?" + "type=" + 1 +
|
||||
"exportType" + this.saveExportType + "&ids=" + this.selectedList.join(",") + "&exportName=" + this.exportName;
|
||||
window.open(exportURL);
|
||||
this.$message.success("导出信息成功");
|
||||
}
|
||||
} else if (this.saveExportType === "all") {
|
||||
const exportURL = interfaceUrl + "sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?" + "type=" + 1 +
|
||||
"exportType" + this.saveExportType + "&id=" + this.pageId + "&exportName=" + this.exportName;
|
||||
window.open(exportURL);
|
||||
this.$message.success("导出信息成功");
|
||||
}
|
||||
}else{
|
||||
if (this.saveExportType === "apart") {
|
||||
if (this.selectedList != null && this.selectedList != "") {
|
||||
const exportURL = interfaceUrl + "sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?" +
|
||||
"exportType" + this.saveExportType + "&ids=" + this.selectedList.join(",") + "&exportName=" + this.exportName;
|
||||
window.open(exportURL);
|
||||
this.$message.success("导出信息成功");
|
||||
}
|
||||
} else if (this.saveExportType === "all") {
|
||||
const exportURL = interfaceUrl + "sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?" +
|
||||
"exportType" + this.saveExportType + "&ids=" + this.selectedList.join(",") + "&exportName=" + this.exportName;
|
||||
"exportType" + this.saveExportType + "&id=" + this.pageId + "&exportName=" + this.exportName;
|
||||
window.open(exportURL);
|
||||
this.$message.success("导出信息成功");
|
||||
}
|
||||
} else if (this.saveExportType === "all") {
|
||||
const exportURL = interfaceUrl + "sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?" +
|
||||
"exportType" + this.saveExportType + "&id=" + this.pageId + "&exportName=" + this.exportName;
|
||||
window.open(exportURL);
|
||||
this.$message.success("导出信息成功");
|
||||
}
|
||||
this.exportModelFlag = false;
|
||||
this.selectedList = [];
|
||||
|
||||
Reference in New Issue
Block a user