Browse Source

Merge branch 'master' of http://git.cc-lotus.info/financial_platform/finance-cms

guhongwei 5 years ago
parent
commit
a50b33ff7e
1 changed files with 16 additions and 2 deletions
  1. 16 2
      src/views/follow/followindex.vue

+ 16 - 2
src/views/follow/followindex.vue

@@ -50,8 +50,22 @@ export default {
       this.$set(this, `total`, res.total);
     },
     // 删除
-    async deleteRow(id) {
-      const res = await this.credit({ id: id, orcredit: '3' });
+    async deleteRow(id) {this.$prompt('请输拒绝信息', '提示', {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+    })
+      .then(({ value }) => {
+        this.jujue(value,id);
+      })
+      .catch(() => {
+        this.$message({
+          type: 'info',
+          message: '取消输入',
+        });
+      });
+    },
+    async jujue(value,id) {
+      const res = await this.credit({id:id,jindiaomessage:value,orcredit:'3'});
       this.$checkRes(res, '拒绝成功', '拒绝失败');
       this.followList();
     },