删除提示框文案修改现在不携带编号类数据
This commit is contained in:
parent
10e57c23ae
commit
9df0dae379
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -313,7 +313,7 @@ export default {
|
|||
handleDelete(row) {
|
||||
const pIds = row.id || this.ids;
|
||||
this.$modal
|
||||
.confirm("是否确认删除该数据项?")
|
||||
.confirm("是否确认删除所选择的数据项?")
|
||||
.then(function () {
|
||||
return delUnitType(pIds);
|
||||
})
|
||||
|
|
|
|||
|
|
@ -651,7 +651,7 @@ export default {
|
|||
agreementId: row.agreementId + '',
|
||||
}
|
||||
this.$modal
|
||||
.confirm('是否确认删除该数据项?')
|
||||
.confirm('是否确认删除所选择的数据项?')
|
||||
.then(function() {
|
||||
return removeAgreement(param)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -680,7 +680,7 @@
|
|||
handleDelete(row) {
|
||||
const dictIds = row.dictId || this.ids
|
||||
this.$modal
|
||||
.confirm('是否确认删除该数据项?')
|
||||
.confirm('是否确认删除所选择的数据项?')
|
||||
.then(function () {
|
||||
return delType(dictIds)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -703,7 +703,7 @@
|
|||
handleDelete(row) {
|
||||
const dictIds = row.dictId || this.ids
|
||||
this.$modal
|
||||
.confirm('是否确认删除该数据项?')
|
||||
.confirm('是否确认删除所选择的数据项?')
|
||||
.then(function () {
|
||||
return delType(dictIds)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -620,7 +620,7 @@ export default {
|
|||
handleDelete(row) {
|
||||
const dictIds = row.dictId || this.ids
|
||||
this.$modal
|
||||
.confirm('是否确认删除该数据项?')
|
||||
.confirm('是否确认删除所选择的数据项?')
|
||||
.then(function() {
|
||||
return delType(dictIds)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -576,7 +576,7 @@ export default {
|
|||
handleDelete(row) {
|
||||
const dictIds = row.dictId || this.ids
|
||||
this.$modal
|
||||
.confirm('是否确认删除该数据项?')
|
||||
.confirm('是否确认删除所选择的数据项?')
|
||||
.then(function() {
|
||||
return delType(dictIds)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -836,7 +836,7 @@
|
|||
id: row.id + '',
|
||||
}
|
||||
this.$modal
|
||||
.confirm('是否确认删除该数据项?')
|
||||
.confirm('是否确认删除所选择的数据项?')
|
||||
.then(() => {
|
||||
return backApplyDelApi(param)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -827,7 +827,7 @@
|
|||
id: row.id + '',
|
||||
}
|
||||
this.$modal
|
||||
.confirm('是否确认删除该数据项?')
|
||||
.confirm('是否确认删除所选择的数据项?')
|
||||
.then(() => {
|
||||
return backApplyDelApi(param)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -797,7 +797,7 @@ export default {
|
|||
handleDelete(row) {
|
||||
const dictIds = row.dictId || this.ids
|
||||
this.$modal
|
||||
.confirm('是否确认删除该数据项?')
|
||||
.confirm('是否确认删除所选择的数据项?')
|
||||
.then(function() {
|
||||
return delType(dictIds)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -600,7 +600,7 @@
|
|||
handleDelete(row) {
|
||||
const dictIds = row.dictId || this.ids
|
||||
this.$modal
|
||||
.confirm('是否确认删除该数据项?')
|
||||
.confirm('是否确认删除所选择的数据项?')
|
||||
.then(function () {
|
||||
return delType(dictIds)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -419,7 +419,7 @@
|
|||
const dictIds = row.dictId || this.ids
|
||||
this.$modal
|
||||
.confirm(
|
||||
'是否确认删除字典编号为"' + dictIds + '"的数据项?',
|
||||
'是否确认删除所选择的数据项?',
|
||||
)
|
||||
.then(function () {
|
||||
return delType(dictIds)
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -393,7 +393,7 @@ export default {
|
|||
handleDelete(row) {
|
||||
const taskId = row.taskId || this.ids
|
||||
this.$modal
|
||||
.confirm('是否确认删除该数据项?')
|
||||
.confirm('是否确认删除所选择的数据项?')
|
||||
.then(function() {
|
||||
return delPurchaseAccessory(taskId)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -655,7 +655,7 @@
|
|||
// console.log(row)
|
||||
const taskIds = row.taskId || this.ids
|
||||
this.$modal
|
||||
.confirm('是否确认删除该数据项?')
|
||||
.confirm('是否确认删除所选择的数据项?')
|
||||
.then(function () {
|
||||
return purchaseCheckInfoRemove(taskIds)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -845,7 +845,7 @@
|
|||
const dictIds = row.dictId || this.ids
|
||||
this.$modal
|
||||
.confirm(
|
||||
'是否确认删除字典编号为"' + dictIds + '"的数据项?',
|
||||
'是否确认删除所选择的数据项?',
|
||||
)
|
||||
.then(function () {
|
||||
return delType(dictIds)
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -749,7 +749,7 @@
|
|||
handleDelete(row) {
|
||||
const maIds = row.maId
|
||||
this.$modal
|
||||
.confirm('是否确认删除编号为"' + maIds + '"的数据项?')
|
||||
.confirm('是否确认删除所选择的数据项?')
|
||||
.then(function () {
|
||||
return delMachine(maIds)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -590,7 +590,7 @@
|
|||
const dictIds = row.dictId || this.ids
|
||||
this.$modal
|
||||
.confirm(
|
||||
'是否确认删除字典编号为"' + dictIds + '"的数据项?',
|
||||
'是否确认删除所选择的数据项?',
|
||||
)
|
||||
.then(function () {
|
||||
return delType(dictIds)
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@
|
|||
const infoIds = row.infoId || this.ids
|
||||
this.$modal
|
||||
.confirm(
|
||||
'是否确认删除访问编号为"' + infoIds + '"的数据项?',
|
||||
'是否确认删除所选择的数据项?',
|
||||
)
|
||||
.then(function () {
|
||||
return delLogininfor(infoIds)
|
||||
|
|
|
|||
|
|
@ -422,7 +422,7 @@
|
|||
const noticeIds = row.noticeId || this.ids
|
||||
this.$modal
|
||||
.confirm(
|
||||
'是否确认删除公告编号为"' + noticeIds + '"的数据项?',
|
||||
'是否确认删除所选择的数据项?',
|
||||
)
|
||||
.then(function () {
|
||||
return delNotice(noticeIds)
|
||||
|
|
|
|||
|
|
@ -420,7 +420,7 @@
|
|||
const operIds = row.operId || this.ids
|
||||
this.$modal
|
||||
.confirm(
|
||||
'是否确认删除日志编号为"' + operIds + '"的数据项?',
|
||||
'是否确认删除所选择的数据项?',
|
||||
)
|
||||
.then(function () {
|
||||
return delOperlog(operIds)
|
||||
|
|
|
|||
|
|
@ -379,7 +379,7 @@
|
|||
const postIds = row.postId || this.ids
|
||||
this.$modal
|
||||
.confirm(
|
||||
'是否确认删除岗位编号为"' + postIds + '"的数据项?',
|
||||
'是否确认删除所选择的数据项?',
|
||||
)
|
||||
.then(function () {
|
||||
return delPost(postIds)
|
||||
|
|
|
|||
|
|
@ -764,7 +764,7 @@
|
|||
const roleIds = row.roleId || this.ids
|
||||
this.$modal
|
||||
.confirm(
|
||||
'是否确认删除角色编号为"' + roleIds + '"的数据项?',
|
||||
'是否确认删除所选择的数据项?',
|
||||
)
|
||||
.then(function () {
|
||||
return delRole(roleIds)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue