模型里内置数据只能查看

master
yujialong 7 months ago
parent 5723015aa5
commit 4967b00c9b
  1. 2
      .env
  2. 15
      src/views/product/afterLoan/1029/Index.vue
  3. 15
      src/views/product/afterLoan/1030/Index.vue
  4. 15
      src/views/product/afterLoan/1031/Index.vue
  5. 15
      src/views/product/afterLoan/1032/Index.vue
  6. 3
      src/views/product/afterLoan/1033/Detail.vue
  7. 15
      src/views/product/afterLoan/1033/Index.vue
  8. 15
      src/views/product/interestRate/772/Index.vue
  9. 15
      src/views/product/interestRate/935/Index.vue
  10. 15
      src/views/product/interestRate/936/Index.vue
  11. 15
      src/views/product/strategy/150/Index.vue
  12. 15
      src/views/product/strategy/151/Index.vue
  13. 15
      src/views/product/strategy/152/Index.vue
  14. 15
      src/views/product/strategy/153/Index.vue
  15. 16
      src/views/product/strategy/154/Index.vue
  16. 16
      src/views/product/strategy/155/Index.vue
  17. 16
      src/views/product/strategy/156/Index.vue
  18. 15
      src/views/product/strategy/512/Index.vue
  19. 15
      src/views/product/strategy/513/Index.vue

@ -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

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -129,6 +133,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -129,6 +133,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -129,6 +133,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -128,6 +132,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -171,9 +171,10 @@ const showDia = (row: Record<string, any>) => {
};
//
const addRecord = async (data: Record<string, any>) => {
const preIds = `1,${Cookies.get('sand-level')},42,69,1033,1149`; // 1id
let preIds = `1,${Cookies.get('sand-level')},42,69,1033`; // 1id
const rule = [handleId(140, 28, strategyName.value, `${preIds},140`, 3)];
preIds += ',1149';
data.map((e) => {
e.recordChildren.forEach((n, i) => {
if (i === 2) {

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -128,6 +132,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -129,6 +133,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -128,6 +132,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -128,6 +132,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -129,6 +133,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -129,6 +133,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -129,6 +133,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -129,6 +133,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,8 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +62,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -129,6 +134,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,8 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +62,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -129,6 +134,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,8 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +62,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -129,6 +134,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -128,6 +132,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

@ -32,7 +32,8 @@
:data="list"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55" />
width="55"
:selectable="handleDisable" />
<el-table-column label="序号"
type="index"
width="60"
@ -49,6 +50,7 @@
<el-button type="text"
@click="toDetail(row, true)"
size="small">查看</el-button>
<template v-if="!row.builtIn">
<el-button type="text"
@click="toDetail(row)"
size="small">编辑</el-button>
@ -59,7 +61,9 @@
size="small">删除</el-button>
</template>
</el-popconfirm>
</template></el-table-column>
</template>
</template>
</el-table-column>
</el-table>
<el-pagination v-model:currentPage="currentPage"
v-model:pageSize="pageSize"
@ -128,6 +132,13 @@ const initList = async () => {
watch(keyWord, initList);
onMounted(getList);
//
const handleDisable = (row: Record<string, any>) => {
//
if (row.builtIn) return false;
return true;
};
//
const handleSelectionChange = (val: Record<string, any>[]) => {
multipleSelection.value = val;

Loading…
Cancel
Save