|
@@ -367,7 +367,7 @@ export default {
|
|
});
|
|
});
|
|
let res = await batchEdit(updateData);
|
|
let res = await batchEdit(updateData);
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
- this.$modal.msgSuccess("修改成功");
|
|
|
|
|
|
+ this.$modal.msgSuccess("修改成功");this.$modal.msgSuccess("删除成功");
|
|
} else {
|
|
} else {
|
|
this.$modal.msgError("修改失败");
|
|
this.$modal.msgError("修改失败");
|
|
}
|
|
}
|
|
@@ -406,7 +406,7 @@ export default {
|
|
this.jsonData = JSON.parse(data.dfVueTemplate);
|
|
this.jsonData = JSON.parse(data.dfVueTemplate);
|
|
this.open = true;
|
|
this.open = true;
|
|
this.title = "修改信息";
|
|
this.title = "修改信息";
|
|
- this.form.password = this.initPassword;
|
|
|
|
|
|
+ // this.form.password = this.initPassword;
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.$refs.addFromRef.setData(row);
|
|
this.$refs.addFromRef.setData(row);
|
|
});
|
|
});
|
|
@@ -448,12 +448,16 @@ export default {
|
|
this.$modal
|
|
this.$modal
|
|
.confirm('是否确认删除"' + delIds + '"的数据项?')
|
|
.confirm('是否确认删除"' + delIds + '"的数据项?')
|
|
.then(function () {
|
|
.then(function () {
|
|
- return delTableData(data);
|
|
|
|
|
|
+ console.log('123')
|
|
|
|
+ return delTableData(data)
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
// 调用子组件查询方法 目的是携带上子组件中的查询参数
|
|
// 调用子组件查询方法 目的是携带上子组件中的查询参数
|
|
- this.$refs.mychild.pageList();
|
|
|
|
|
|
+ // this.$refs.mychild.pageList();
|
|
this.$modal.msgSuccess("删除成功");
|
|
this.$modal.msgSuccess("删除成功");
|
|
|
|
+ this.gettableListHandler(this.tableKey)
|
|
|
|
+ // console.log('删除')
|
|
|
|
+
|
|
})
|
|
})
|
|
.catch(() => {
|
|
.catch(() => {
|
|
});
|
|
});
|