删除提示框文案修改现在不携带编号类数据

This commit is contained in:
zzyuan 2024-04-25 11:28:22 +08:00
parent 10e57c23ae
commit 9df0dae379
41 changed files with 47 additions and 42 deletions

View File

@ -274,7 +274,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const propIds = row.propId || this.ids;
this.$modal.confirm('是否确认删除数据项?').then(function() {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function() {
return delPropInfo(propIds);
}).then(() => {
this.getList();

View File

@ -409,7 +409,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const unitIds = row.unitId || this.ids;
this.$modal.confirm('是否确认删除数据项?').then(function () {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function () {
return delUnit(unitIds);
}).then(() => {
this.getList();

View File

@ -314,7 +314,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const proIds = row.proId || this.ids;
this.$modal.confirm('是否确认删除数据项?').then(function() {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function() {
return delProject(proIds);
}).then(() => {
this.getList();

View File

@ -410,7 +410,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const lotIds = row.lotId || this.ids;
this.$modal.confirm('是否确认删除数据项?').then(function () {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function () {
return delProjectLot(lotIds);
}).then(() => {
this.getList();

View File

@ -313,7 +313,7 @@ export default {
handleDelete(row) {
const pIds = row.id || this.ids;
this.$modal
.confirm("是否确认删除数据项?")
.confirm("是否确认删除所选择的数据项?")
.then(function () {
return delUnitType(pIds);
})

View File

@ -651,7 +651,7 @@ export default {
agreementId: row.agreementId + '',
}
this.$modal
.confirm('是否确认删除数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(function() {
return removeAgreement(param)
})

View File

@ -680,7 +680,7 @@
handleDelete(row) {
const dictIds = row.dictId || this.ids
this.$modal
.confirm('是否确认删除数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(function () {
return delType(dictIds)
})

View File

@ -703,7 +703,7 @@
handleDelete(row) {
const dictIds = row.dictId || this.ids
this.$modal
.confirm('是否确认删除数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(function () {
return delType(dictIds)
})

View File

@ -566,7 +566,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const roleIds = row.roleId || this.ids;
this.$modal.confirm('是否确认删除角色编号为"' + roleIds + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function() {
return delRole(roleIds);
}).then(() => {
this.getList();

View File

@ -620,7 +620,7 @@ export default {
handleDelete(row) {
const dictIds = row.dictId || this.ids
this.$modal
.confirm('是否确认删除数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(function() {
return delType(dictIds)
})

View File

@ -576,7 +576,7 @@ export default {
handleDelete(row) {
const dictIds = row.dictId || this.ids
this.$modal
.confirm('是否确认删除数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(function() {
return delType(dictIds)
})

View File

@ -836,7 +836,7 @@
id: row.id + '',
}
this.$modal
.confirm('是否确认删除数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(() => {
return backApplyDelApi(param)
})

View File

@ -827,7 +827,7 @@
id: row.id + '',
}
this.$modal
.confirm('是否确认删除数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(() => {
return backApplyDelApi(param)
})

View File

@ -797,7 +797,7 @@ export default {
handleDelete(row) {
const dictIds = row.dictId || this.ids
this.$modal
.confirm('是否确认删除数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(function() {
return delType(dictIds)
})

View File

@ -600,7 +600,7 @@
handleDelete(row) {
const dictIds = row.dictId || this.ids
this.$modal
.confirm('是否确认删除数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(function () {
return delType(dictIds)
})

View File

@ -482,7 +482,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const dictIds = row.dictId || this.ids;
this.$modal.confirm('是否确认删除数据项?').then(function () {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function () {
return delType(dictIds);
}).then(() => {
this.getList();

View File

@ -419,7 +419,7 @@
const dictIds = row.dictId || this.ids
this.$modal
.confirm(
'是否确认删除字典编号为"' + dictIds + '"的数据项?',
'是否确认删除所选择的数据项?',
)
.then(function () {
return delType(dictIds)

View File

@ -273,7 +273,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const dictIds = row.dictId || this.ids;
this.$modal.confirm('是否确认删除数据项?').then(function() {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function() {
return delType(dictIds);
}).then(() => {
this.getList();

View File

@ -393,7 +393,7 @@ export default {
handleDelete(row) {
const taskId = row.taskId || this.ids
this.$modal
.confirm('是否确认删除数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(function() {
return delPurchaseAccessory(taskId)
})

View File

@ -565,7 +565,7 @@ export default {
handleDelete(row) {
console.log(row.id)
this.$modal
.confirm('是否确认删除数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(() => {
this.equipmentList.forEach((item, index) => {
if (item.id == row.id) {

View File

@ -655,7 +655,7 @@
// console.log(row)
const taskIds = row.taskId || this.ids
this.$modal
.confirm('是否确认删除数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(function () {
return purchaseCheckInfoRemove(taskIds)
})

View File

@ -845,7 +845,7 @@
const dictIds = row.dictId || this.ids
this.$modal
.confirm(
'是否确认删除字典编号为"' + dictIds + '"的数据项?',
'是否确认删除所选择的数据项?',
)
.then(function () {
return delType(dictIds)

View File

@ -414,7 +414,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const dictIds = row.dictId || this.ids;
this.$modal.confirm('是否确认删除数据项?').then(function() {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function() {
return delType(dictIds);
}).then(() => {
this.getList();

View File

@ -622,7 +622,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const roleIds = row.roleId || this.ids;
this.$modal.confirm('是否确认删除角色编号为"' + roleIds + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function() {
return delRole(roleIds);
}).then(() => {
this.getList();

View File

@ -345,7 +345,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const dictIds = row.dictId || this.ids;
this.$modal.confirm('是否确认删除字典编号为"' + dictIds + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function() {
return delType(dictIds);
}).then(() => {
this.getList();

View File

@ -485,7 +485,7 @@ export default {
handleDelete(row) {
console.log(row.id)
this.$modal
.confirm('是否确认删除数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(() => {
this.equipmentList.forEach((item, index) => {
if (item.id == row.id) {

View File

@ -749,7 +749,7 @@
handleDelete(row) {
const maIds = row.maId
this.$modal
.confirm('是否确认删除编号为"' + maIds + '"的数据项?')
.confirm('是否确认删除所选择的数据项?')
.then(function () {
return delMachine(maIds)
})

View File

@ -276,7 +276,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const dictIds = row.dictId || this.ids;
this.$modal.confirm('是否确认删除数据项?').then(function() {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function() {
return delType(dictIds);
}).then(() => {
this.getList();

View File

@ -318,7 +318,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const supplierIds = row.supplierId || this.ids;
this.$modal.confirm('是否确认删除数据项?').then(function () {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function () {
return delSupplier(supplierIds);
}).then(() => {
this.getList();

View File

@ -590,7 +590,7 @@
const dictIds = row.dictId || this.ids
this.$modal
.confirm(
'是否确认删除字典编号为"' + dictIds + '"的数据项?',
'是否确认删除所选择的数据项?',
)
.then(function () {
return delType(dictIds)

View File

@ -903,7 +903,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const dictIds = row.dictId || this.ids;
this.$modal.confirm('是否确认删除字典编号为"' + dictIds + '"的数据项?').then(function() {
this.$modal.confirm('是否确认所选择的数据项?').then(function() {
return delType(dictIds);
}).then(() => {
this.getList();

View File

@ -319,7 +319,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const configIds = row.configId || this.ids;
this.$modal.confirm('是否确认删除参数编号为"' + configIds + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function() {
return delConfig(configIds);
}).then(() => {
this.getList();

View File

@ -393,7 +393,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
this.$modal.confirm('是否确认删除字典编码为"' + dictCodes + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function() {
return delDictData(dictCodes);
}).then(() => {
this.getList();

View File

@ -321,7 +321,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const dictIds = row.pId || this.ids;
this.$modal.confirm('是否确认删除字典编号为"' + dictIds + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function() {
return delDictData(dictIds);
}).then(() => {
this.getList();

View File

@ -281,7 +281,7 @@
const infoIds = row.infoId || this.ids
this.$modal
.confirm(
'是否确认删除访问编号为"' + infoIds + '"的数据项?',
'是否确认删除所选择的数据项?',
)
.then(function () {
return delLogininfor(infoIds)

View File

@ -422,7 +422,7 @@
const noticeIds = row.noticeId || this.ids
this.$modal
.confirm(
'是否确认删除公告编号为"' + noticeIds + '"的数据项?',
'是否确认删除所选择的数据项?',
)
.then(function () {
return delNotice(noticeIds)

View File

@ -420,7 +420,7 @@
const operIds = row.operId || this.ids
this.$modal
.confirm(
'是否确认删除日志编号为"' + operIds + '"的数据项?',
'是否确认删除所选择的数据项?',
)
.then(function () {
return delOperlog(operIds)

View File

@ -379,7 +379,7 @@
const postIds = row.postId || this.ids
this.$modal
.confirm(
'是否确认删除岗位编号为"' + postIds + '"的数据项?',
'是否确认删除所选择的数据项?',
)
.then(function () {
return delPost(postIds)

View File

@ -764,7 +764,7 @@
const roleIds = row.roleId || this.ids
this.$modal
.confirm(
'是否确认删除角色编号为"' + roleIds + '"的数据项?',
'是否确认删除所选择的数据项?',
)
.then(function () {
return delRole(roleIds)

View File

@ -70,7 +70,12 @@
<el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="50" align="center" />
<el-table-column label="序号" align="center" type="index" width="50" />
<!-- <el-table-column label="序号" align="center" type="index" width="50" /> -->
<el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope">
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index + 1 }}</span>
</template>
</el-table-column>
<el-table-column label="用户名称" align="center" key="userName" prop="userName"
v-if="columns[1].visible" :show-overflow-tooltip="true" />
<el-table-column label="用户昵称" align="center" key="nickName" prop="nickName"
@ -580,7 +585,7 @@ export default {
const userIds = row.userId || this.ids
this.$modal
.confirm(
'是否确认删除用户编号为"' + userIds + '"的数据项?',
'是否确认删除所选择的数据项?',
)
.then(function () {
return delUser(userIds)

View File

@ -325,7 +325,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const tableIds = row.tableId || this.ids;
this.$modal.confirm('是否确认删除表编号为"' + tableIds + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除所选择的数据项?').then(function() {
return delTable(tableIds);
}).then(() => {
this.getList();