删除功能提示信息修改

main
wanglei 2 months ago
parent bf641a8748
commit 2bb74cf7d0

@ -512,7 +512,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids
this.$modal.confirm('是否确认删除职工信息编号为"' + ids + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除数据项?').then(function() {
return delEmployee(ids)
}).then(() => {
this.getList()

@ -62,7 +62,7 @@
</el-row>
<el-table v-loading="loading" :data="gatherList" @selection-change="handleSelectionChange">
<!-- <el-table-column type="selection" width="55" align="center" />-->
<el-table-column type="selection" width="55" align="center" />
<!-- <el-table-column label="主键" align="center" prop="id" />-->
<el-table-column label="一级标题" align="center" prop="hzName" min-width="200" :show-overflow-tooltip="true"/>
<!-- <el-table-column label="表头" align="center" prop="tableHeader" min-width="200" :show-overflow-tooltip="true"/>
@ -415,7 +415,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids
this.$modal.confirm('是否确认删除生成汇总编号为"' + ids + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除数据项?').then(function() {
return delGather(ids)
}).then(() => {
this.getList()

@ -323,7 +323,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids
this.$modal.confirm('是否确认删除考核项编号为"' + ids + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除数据项?').then(function() {
return delItems(ids)
}).then(() => {
this.getList()

@ -791,6 +791,9 @@ export default {
updateTime: null,
remark: null
};
this.$nextTick(() => {
this.$refs.dept.setCheckedKeys([])
})
this.resetForm("form")
},
/** 搜索按钮操作 */
@ -918,7 +921,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids
this.$modal.confirm('是否确认删除考核任务编号为"' + ids + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除数据项?').then(function() {
return delPingce(ids)
}).then(() => {
this.getList()
@ -1380,7 +1383,7 @@ export default {
/** 清除评分账号 */
handleDeleteUsers(row) {
const ids = row.id || this.ids
this.$modal.confirm('是否确认删除考核任务编号为"' + ids + '"的评分账号数据项?').then(function() {
this.$modal.confirm('是否确认清除该评分账号数据项?').then(function() {
return delUserPingfen(ids)
}).then(() => {
this.getList()

@ -321,7 +321,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids
this.$modal.confirm('是否确认删除考核模板编号为"' + ids + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除数据项?').then(function() {
return delTemplate(ids)
}).then(() => {
this.getList()

@ -361,7 +361,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids
this.$modal.confirm('是否确认删除评分任务编号为"' + ids + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除数据项?').then(function() {
return delVote(ids)
}).then(() => {
this.getList()
@ -370,9 +370,9 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
/*this.download('kaohe/vote/export', {
this.download('kaohe/vote/export', {
...this.queryParams
}, `vote_${new Date().getTime()}.xlsx`)*/
}, `vote_${new Date().getTime()}.xlsx`)
},
goVotepage(row){
this.$router.push({ path: '/votepage', query: { id: row.id }});

@ -329,7 +329,7 @@ export default {
},
/** 删除按钮操作 */
handleDelete(row) {
this.$modal.confirm('是否确认删除名称为"' + row.deptName + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除数据项?').then(function() {
return delDept(row.deptId)
}).then(() => {
this.getList()

Loading…
Cancel
Save