From 4967b00c9b57909f4270df651f748667ec0d0b06 Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Sat, 11 May 2024 15:58:53 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E9=87=8C=E5=86=85=E7=BD=AE?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=8F=AA=E8=83=BD=E6=9F=A5=E7=9C=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env | 2 +-
src/views/product/afterLoan/1029/Index.vue | 35 ++++++++++++-------
src/views/product/afterLoan/1030/Index.vue | 35 ++++++++++++-------
src/views/product/afterLoan/1031/Index.vue | 35 ++++++++++++-------
src/views/product/afterLoan/1032/Index.vue | 35 ++++++++++++-------
src/views/product/afterLoan/1033/Detail.vue | 3 +-
src/views/product/afterLoan/1033/Index.vue | 35 ++++++++++++-------
src/views/product/interestRate/772/Index.vue | 35 ++++++++++++-------
src/views/product/interestRate/935/Index.vue | 35 ++++++++++++-------
src/views/product/interestRate/936/Index.vue | 35 ++++++++++++-------
src/views/product/strategy/150/Index.vue | 35 ++++++++++++-------
src/views/product/strategy/151/Index.vue | 35 ++++++++++++-------
src/views/product/strategy/152/Index.vue | 35 ++++++++++++-------
src/views/product/strategy/153/Index.vue | 35 ++++++++++++-------
src/views/product/strategy/154/Index.vue | 36 +++++++++++++-------
src/views/product/strategy/155/Index.vue | 36 +++++++++++++-------
src/views/product/strategy/156/Index.vue | 36 +++++++++++++-------
src/views/product/strategy/512/Index.vue | 35 ++++++++++++-------
src/views/product/strategy/513/Index.vue | 35 ++++++++++++-------
19 files changed, 397 insertions(+), 206 deletions(-)
diff --git a/.env b/.env
index 104e2c6..79153fd 100644
--- a/.env
+++ b/.env
@@ -2,7 +2,7 @@ VITE_APP_TITLE=金融产品设计及数字化营销沙盘
VITE_PORT=9520
# VITE_PROXY=http://192.168.31.125:8080
VITE_PUBLIC_PATH=./
-VITE_BASE_API=http://192.168.31.217:9000
+VITE_BASE_API=http://192.168.31.51:9000
# VITE_BASE_API=http://121.37.12.51
# VITE_BASE_API=https://www.occupationlab.com
VITE_I18N_LOCALE=zh-cn
diff --git a/src/views/product/afterLoan/1029/Index.vue b/src/views/product/afterLoan/1029/Index.vue
index 01eac58..a5d976b 100644
--- a/src/views/product/afterLoan/1029/Index.vue
+++ b/src/views/product/afterLoan/1029/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/afterLoan/1030/Index.vue b/src/views/product/afterLoan/1030/Index.vue
index a4b3e55..187663a 100644
--- a/src/views/product/afterLoan/1030/Index.vue
+++ b/src/views/product/afterLoan/1030/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/afterLoan/1031/Index.vue b/src/views/product/afterLoan/1031/Index.vue
index 7c6707f..00dd948 100644
--- a/src/views/product/afterLoan/1031/Index.vue
+++ b/src/views/product/afterLoan/1031/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/afterLoan/1032/Index.vue b/src/views/product/afterLoan/1032/Index.vue
index 436e70d..dfbadcb 100644
--- a/src/views/product/afterLoan/1032/Index.vue
+++ b/src/views/product/afterLoan/1032/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/afterLoan/1033/Detail.vue b/src/views/product/afterLoan/1033/Detail.vue
index 82a91aa..fdb465d 100644
--- a/src/views/product/afterLoan/1033/Detail.vue
+++ b/src/views/product/afterLoan/1033/Detail.vue
@@ -171,9 +171,10 @@ const showDia = (row: Record) => {
};
// 新增判分记录
const addRecord = async (data: Record) => {
- const preIds = `1,${Cookies.get('sand-level')},42,69,1033,1149`; // 1,关卡id,角色(这个页面是风控经理策略)
+ let preIds = `1,${Cookies.get('sand-level')},42,69,1033`; // 1,关卡id,角色(这个页面是风控经理策略)
const rule = [handleId(140, 28, strategyName.value, `${preIds},140`, 3)];
+ preIds += ',1149';
data.map((e) => {
e.recordChildren.forEach((n, i) => {
if (i === 2) {
diff --git a/src/views/product/afterLoan/1033/Index.vue b/src/views/product/afterLoan/1033/Index.vue
index 680a9b0..8d7814c 100644
--- a/src/views/product/afterLoan/1033/Index.vue
+++ b/src/views/product/afterLoan/1033/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/interestRate/772/Index.vue b/src/views/product/interestRate/772/Index.vue
index c814414..cf60a7b 100644
--- a/src/views/product/interestRate/772/Index.vue
+++ b/src/views/product/interestRate/772/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/interestRate/935/Index.vue b/src/views/product/interestRate/935/Index.vue
index 0d37d46..cf63424 100644
--- a/src/views/product/interestRate/935/Index.vue
+++ b/src/views/product/interestRate/935/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/interestRate/936/Index.vue b/src/views/product/interestRate/936/Index.vue
index 4074888..daae3a2 100644
--- a/src/views/product/interestRate/936/Index.vue
+++ b/src/views/product/interestRate/936/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/strategy/150/Index.vue b/src/views/product/strategy/150/Index.vue
index e15b116..68acb0c 100644
--- a/src/views/product/strategy/150/Index.vue
+++ b/src/views/product/strategy/150/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/strategy/151/Index.vue b/src/views/product/strategy/151/Index.vue
index c5ca919..812acc3 100644
--- a/src/views/product/strategy/151/Index.vue
+++ b/src/views/product/strategy/151/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/strategy/152/Index.vue b/src/views/product/strategy/152/Index.vue
index 86989f8..4f4190a 100644
--- a/src/views/product/strategy/152/Index.vue
+++ b/src/views/product/strategy/152/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/strategy/153/Index.vue b/src/views/product/strategy/153/Index.vue
index 1d5eeeb..fd65910 100644
--- a/src/views/product/strategy/153/Index.vue
+++ b/src/views/product/strategy/153/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/strategy/154/Index.vue b/src/views/product/strategy/154/Index.vue
index a32a49e..c7fde4f 100644
--- a/src/views/product/strategy/154/Index.vue
+++ b/src/views/product/strategy/154/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/strategy/155/Index.vue b/src/views/product/strategy/155/Index.vue
index 92d49e8..22dff7b 100644
--- a/src/views/product/strategy/155/Index.vue
+++ b/src/views/product/strategy/155/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/strategy/156/Index.vue b/src/views/product/strategy/156/Index.vue
index 7c33fa7..a43200e 100644
--- a/src/views/product/strategy/156/Index.vue
+++ b/src/views/product/strategy/156/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/strategy/512/Index.vue b/src/views/product/strategy/512/Index.vue
index 5873111..0c2c2c7 100644
--- a/src/views/product/strategy/512/Index.vue
+++ b/src/views/product/strategy/512/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;
diff --git a/src/views/product/strategy/513/Index.vue b/src/views/product/strategy/513/Index.vue
index 6d06650..301b747 100644
--- a/src/views/product/strategy/513/Index.vue
+++ b/src/views/product/strategy/513/Index.vue
@@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
+ width="55"
+ :selectable="handleDisable" />
查看
- 编辑
-
-
- 删除
-
-
-
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
{
watch(keyWord, initList);
onMounted(getList);
+// 多选框条件
+const handleDisable = (row: Record) => {
+ // 内置数据禁用
+ if (row.builtIn) return false;
+ return true;
+};
+
// 多选
const handleSelectionChange = (val: Record[]) => {
multipleSelection.value = val;