From f496d98f342ccc720ad0f8ff1f3b5fa0d9f9fc8d Mon Sep 17 00:00:00 2001
From: lcc <805383944@qq.com>
Date: Sat, 28 Jun 2025 12:43:59 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=A1=E6=A0=B8=E5=8E=9F?=
=?UTF-8?q?=E5=9B=A0,=E7=BA=BF=E7=B4=A2=E5=B0=8F=E8=AE=A1,=E4=BD=A3?=
=?UTF-8?q?=E9=87=91=E6=98=BE=E7=A4=BA=EF=BC=8C=E9=85=8D=E7=BD=AE=E8=A7=92?=
=?UTF-8?q?=E8=89=B2id?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../organization/manage/components/edit.vue | 6 +-
.../receiver/subsidy/components/edit.vue | 7 +-
admin/src/views/receiver/subsidy/index.vue | 71 +++++++++++++------
pingan/src/api/receiver/clues/index.js | 8 +++
pingan/src/views/receiver/clues/detail.vue | 48 ++++++++++++-
pingan/src/views/user/cmmssn/index.vue | 6 +-
6 files changed, 117 insertions(+), 29 deletions(-)
diff --git a/admin/src/views/organization/manage/components/edit.vue b/admin/src/views/organization/manage/components/edit.vue
index 3719216..2895b28 100644
--- a/admin/src/views/organization/manage/components/edit.vue
+++ b/admin/src/views/organization/manage/components/edit.vue
@@ -34,6 +34,9 @@
+
+
+
{{ form.cTime }}
+
+ {{ form.reason }}
+
-
+
审核通过
不通过
@@ -66,6 +62,26 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -194,7 +210,9 @@
}
}
]
- }
+ },
+ reasonVisible: false,
+ reason: ''
};
},
created() {},
@@ -226,11 +244,6 @@
goDetail(row) {
this.current = row;
this.showEdit = true;
- // const path = '/receiver/customer/detail';
- // this.$router.push({
- // path,
- // query: row ? { id: row.id, title: row.title } : undefined
- // });
},
/* 表格数据源 */
datasource({ page, limit, where, order }) {
@@ -244,16 +257,8 @@
reset() {
this.where = {};
},
- check(row, status = false) {
- console.log(row);
- console.log(status);
- let msg;
- if (status) {
- msg = '确定审核通过【' + row.sid + '】订单吗?';
- } else {
- msg = '确定审核不通过【' + row.sid + '】订单吗?';
- }
- this.$confirm(msg, '提示', {
+ checkPass(row) {
+ this.$confirm('确定审核通过【' + row.sid + '】订单吗?', '提示', {
type: 'warning'
})
.then(() => {
@@ -270,6 +275,28 @@
});
})
.catch(() => {});
+ },
+ showCheckFail(row) {
+ this.reasonVisible = true;
+ this.current = row;
+ },
+ saveCheckFail() {
+ const loading = this.$loading({ lock: true });
+ checkSubsidy({
+ id: this.current.id,
+ status: status,
+ reason: this.reason
+ })
+ .then((msg) => {
+ this.reasonVisible = false;
+ loading.close();
+ this.$message.success(msg);
+ this.reload();
+ })
+ .catch((e) => {
+ loading.close();
+ this.$message.error(e.message);
+ });
}
}
};
diff --git a/pingan/src/api/receiver/clues/index.js b/pingan/src/api/receiver/clues/index.js
index 48e977d..c5f4d1e 100644
--- a/pingan/src/api/receiver/clues/index.js
+++ b/pingan/src/api/receiver/clues/index.js
@@ -33,3 +33,11 @@ export async function pageCluesOptLog(params) {
}
return Promise.reject(new Error(res.data.message));
}
+
+export async function addCluesOptLog(data) {
+ const res = await request.post('/receiver/clues/addLog', data);
+ if (res.data.code === 0) {
+ return res.data.message;
+ }
+ return Promise.reject(new Error(res.data.message));
+}
diff --git a/pingan/src/views/receiver/clues/detail.vue b/pingan/src/views/receiver/clues/detail.vue
index 6f20a10..61a560f 100644
--- a/pingan/src/views/receiver/clues/detail.vue
+++ b/pingan/src/views/receiver/clues/detail.vue
@@ -71,7 +71,10 @@
cache-key="receiverCustomerOptTables"
>
- 跟进记录
+
+ 跟进记录
+ 新增小记
+
@@ -86,12 +89,31 @@
+
+
+
+
+
+
+
+
+
+