|
@@ -530,7 +530,7 @@ export default {
|
|
|
responseData(datas) {
|
|
|
if (datas.message === '成功') {
|
|
|
this.$message({
|
|
|
- message: '考评目标详情信息保存成功',
|
|
|
+ message: '考评修订详情信息保存成功',
|
|
|
type: 'success'
|
|
|
});
|
|
|
} else {
|
|
@@ -547,7 +547,7 @@ export default {
|
|
|
if (datas) {
|
|
|
if (datas.message === '成功') {
|
|
|
that.$message({
|
|
|
- message: '考评目标详情信息保存成功',
|
|
|
+ message: '考评修订详情信息保存成功',
|
|
|
type: 'success'
|
|
|
});
|
|
|
} else {
|
|
@@ -561,24 +561,24 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
handleImport() {
|
|
|
- this.$refs.importPage.upload.title = "考评目标详情信息导入"
|
|
|
+ this.$refs.importPage.upload.title = "考评修订详情信息导入"
|
|
|
this.$refs.importPage.upload.open = true
|
|
|
- this.$refs.importPage.upload.url = '/responsibility-indicator-info/import-excel'
|
|
|
+ this.$refs.importPage.upload.url = '/evaluation-revision/import-excel'
|
|
|
},
|
|
|
successImport(val) {
|
|
|
- that.getTableData(that.addstageId)
|
|
|
+ this.getTableData(this.addstageId)
|
|
|
},
|
|
|
handleExport() {
|
|
|
let that = this
|
|
|
- let url = 'responsibility-indicator-info/download-excel'
|
|
|
+ let url = 'evaluation-revision/download-excel'
|
|
|
let params = {
|
|
|
- responsibilityId: that.rowMsg.id,
|
|
|
+ reviseId: that.rowMsg.id,
|
|
|
binSection: that.binSectionStr,
|
|
|
binStage: that.addstageId
|
|
|
}
|
|
|
apiGetExportMsg(url,params).then(datas =>{
|
|
|
let blob = new Blob([datas])
|
|
|
- saveAs(blob, '考评目标详情数据导出.xlsx')
|
|
|
+ saveAs(blob, '考评修订详情数据导出.xlsx')
|
|
|
}).catch((r) => {
|
|
|
console.error(r)
|
|
|
})
|