删除修改

This commit is contained in:
shidongli 2022-09-26 09:58:10 +08:00
parent e023e3ae7f
commit 63bd139913
3 changed files with 9 additions and 9 deletions

View File

@ -906,7 +906,7 @@ export default {
handleDelete(row) { handleDelete(row) {
const ids = row.id || this.ids; const ids = row.id || this.ids;
this.$modal this.$modal
.confirm('是否确认删除居住社区信息编号为"' + ids + '"的数据项?') .confirm('是否确认删除居住社区信息的数据项?')
.then(function () { .then(function () {
return delCommunityInfo(ids); return delCommunityInfo(ids);
}) })

View File

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

View File

@ -11,7 +11,7 @@
<el-form-item label="护理站" prop="nurseStationId" v-if="nurseStationlist.find((e) => e.isAdmin == '1')"> <el-form-item label="护理站" prop="nurseStationId" v-if="nurseStationlist.find((e) => e.isAdmin == '1')">
<el-select <el-select
v-model="queryParams.nurseStationId" v-model="queryParams.nurseStationId"
placeholder="请选择护理站" placeholder="请选择护理站"
v-loadmore="loadMore" v-loadmore="loadMore"
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
@ -1278,7 +1278,7 @@ export default {
methods: { methods: {
// // // //
departclick(item, index) { departclick(item, index) {
console.log(item); console.log(item);
this.departid = item.departmentCode; this.departid = item.departmentCode;
this.innerVisible2 = true; this.innerVisible2 = true;
@ -1298,7 +1298,7 @@ export default {
}, },
// //
clickinnerVisible(item, index) { clickinnerVisible(item, index) {
// console.log(item); // console.log(item);
this.stationid = item.nurseStationId; this.stationid = item.nurseStationId;
this.innerVisible = true; this.innerVisible = true;
@ -1443,7 +1443,7 @@ export default {
this.total3 = res.total; this.total3 = res.total;
this.loading = false; this.loading = false;
}); });
}, },
// //
cancel() { cancel() {
@ -1456,7 +1456,7 @@ export default {
}, },
// //
reset() { reset() {
this.form = { this.form = {
id: null, id: null,
nurseStationId: null, nurseStationId: null,
@ -1490,7 +1490,7 @@ export default {
], ],
}; };
this.resetForm("form"); this.resetForm("form");
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
@ -1647,7 +1647,7 @@ export default {
handleDelete(row) { handleDelete(row) {
const ids = row.id || this.ids; const ids = row.id || this.ids;
this.$modal this.$modal
.confirm('是否确认删除护理站人员信息编号为"' + ids + '"的数据项?') .confirm('是否确认删除护理站人员信息的数据项?')
.then(function () { .then(function () {
return delPerson(ids); return delPerson(ids);
}) })