|
@@ -633,6 +633,7 @@
|
|
|
},
|
|
|
/** 查询问题列表 */
|
|
|
getPrblemList() {
|
|
|
+ console.log(11)
|
|
|
this.loadingp = true;
|
|
|
listQuestion(this.problemParams).then((response) => {
|
|
|
this.problemList = response.rows;
|
|
@@ -879,17 +880,14 @@
|
|
|
},
|
|
|
problemDelete(row) {
|
|
|
var matterId = row.id;
|
|
|
- this.$confirm('是否确认删除所选择的数据项?', '提示', {
|
|
|
+ this.$confirm('是否确认删除该问题题目?', '提示', {
|
|
|
type: 'warning',
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
customClass: 'custom-confirm-class',
|
|
|
closeOnClickModal: false // 设置为false表示点击modal区域不关闭
|
|
|
}).then(function () {
|
|
|
- return delQuestion(matterId).then((response) => {
|
|
|
- this.$modal.msgSuccess("删除成功");
|
|
|
- this.getPrblemList();
|
|
|
- });
|
|
|
+ return delQuestion(matterId);
|
|
|
}).then(() => {
|
|
|
this.getPrblemList();
|
|
|
this.$modal.msgSuccess("删除成功");
|
|
@@ -965,7 +963,7 @@
|
|
|
return;
|
|
|
}
|
|
|
var _this = this;
|
|
|
- this.$confirm('是否确认删除所选择的数据项?', '提示', {
|
|
|
+ this.$confirm('是否确认删除该选项?', '提示', {
|
|
|
type: 'warning',
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
@@ -983,7 +981,7 @@
|
|
|
return;
|
|
|
}
|
|
|
var _this = this;
|
|
|
- this.$confirm('是否确认删除所选择的数据项?', '提示', {
|
|
|
+ this.$confirm('是否确认删除该材料?', '提示', {
|
|
|
type: 'warning',
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
@@ -1001,7 +999,7 @@
|
|
|
return;
|
|
|
}
|
|
|
var _this = this;
|
|
|
- this.$confirm('是否确认删除所选择的数据项?', '提示', {
|
|
|
+ this.$confirm('是否确认删除该材料?', '提示', {
|
|
|
type: 'warning',
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|