xyg 10 月之前
父節點
當前提交
a3b6fe11fa
共有 2 個文件被更改,包括 11 次插入8 次删除
  1. 5 0
      nasc-ui/src/views/matter/index/index.vue
  2. 6 8
      nasc-ui/src/views/matter/item/index.vue

+ 5 - 0
nasc-ui/src/views/matter/index/index.vue

@@ -446,4 +446,9 @@
     overflow: hidden;
     text-overflow: ellipsis;
   }
+
+  .el-button--primary.is-plain span {
+    letter-spacing: 2px;
+    line-height: 18px;
+  }
 </style>

+ 6 - 8
nasc-ui/src/views/matter/item/index.vue

@@ -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: '取消',