diff --git a/.vscode/settings.json b/.vscode/settings.json index 9cd9361..73637d1 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -25,7 +25,9 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, - "iconify.excludes": ["el"] + "iconify.excludes": [ + "el" + ] } diff --git a/src/router/index.ts b/src/router/index.ts index 8e60b49..3878972 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -31,10 +31,9 @@ import remainingRouter from "./modules/remaining"; * 如何排除文件请看:https://cn.vitejs.dev/guide/features.html#negative-patterns */ const modules: Record = import.meta.glob( - ["./modules/**/*.ts", "!./modules/**/remaining.ts", + ["./modules/**/*.ts", // "!./modules/**/remaining.ts", // "!./modules/test.ts", - // "!./modules/rateApplyManage.ts", - + "!./modules/rateApplyManage.ts", "!./modules/companyDataManage.ts", "!./modules/rateManage.ts", "!./modules/companyUserManage.ts", diff --git a/src/router/modules/companyDataManage.ts b/src/router/modules/companyDataManage.ts index 07180b4..d94a054 100644 --- a/src/router/modules/companyDataManage.ts +++ b/src/router/modules/companyDataManage.ts @@ -23,7 +23,9 @@ export default { showParent: true, keepAlive: true, icon: "edit", - rank:10, + mata: { + rank: 10 + } } // children: [ // { diff --git a/src/router/modules/rating.ts b/src/router/modules/rating.ts new file mode 100644 index 0000000..e5e7ebb --- /dev/null +++ b/src/router/modules/rating.ts @@ -0,0 +1,35 @@ +const Layout = () => import("@/layout/index.vue"); + +export default { + path: "/rating", + name: "RatingManage", + component: Layout, + redirect: "/rating/rating", + meta: { + icon: "avatar", + title: "评级管理", + roles:[2,4] + }, + children: [ + { + path: "/rating/apply", + name: "apply", + component: () => import("@/views/rate/companyDataManage.vue"), + meta: { + keepAlive:true, + title: "评级申请", + roles:[2,4] + } + }, + { + path: "/rating/manage", + name: "manage", + component: () => import("@/views/smebiz/rateApplyManage.vue"), + meta: { + keepAlive:true, + title: "评级审核", + roles:[2,4] + } + } + ] +} as RouteConfigsTable; diff --git a/src/views/rate/companyDataManage.vue b/src/views/rate/companyDataManage.vue index 2c8e27e..d2d9e55 100644 --- a/src/views/rate/companyDataManage.vue +++ b/src/views/rate/companyDataManage.vue @@ -19,18 +19,18 @@ > - + - - + +
- 新建评级 + + 新建评级 +
-
@@ -135,7 +136,7 @@ v-model:current-page="query.page" v-model:page-size="query.page_size" @size-change="getData" - :page-sizes="[10, 20,30,40]" + :page-sizes="[10, 20, 30, 40]" :small="false" layout="total,sizes,prev, pager, next" :total="count" @@ -224,13 +225,10 @@ class="mx-2" style="color: green" > - + - - + + @@ -255,17 +253,24 @@ @@ -275,13 +280,12 @@
- 编辑 - - + 编辑 +
- 保存 + 保存
@@ -290,7 +294,11 @@ max-height="60vh" :span-method="arraySpanMethod" style="overflow-x: hidden" - :data="bjDataConfig.企业填报数据.财报.columns.filter(item=>item.key!=='是否审计' && item.key!=='会计事务所')" + :data=" + bjDataConfig.企业填报数据.财报.columns.filter( + (item) => item.key !== '是否审计' && item.key !== '会计事务所' + ) + " border > @@ -308,25 +316,37 @@ @@ -338,33 +358,42 @@
- - {{ item }}: + + {{ item }}: - - + + {{ manDataEditTemp["财务问卷"][item] }} -
- 编辑 - - + 编辑 +
- 保存 + 保存
@@ -388,8 +417,10 @@ v-if="tableEditable" :column-config="scope.row" class="max-w-[12rem]" - :model-value='apiDataTemp[scope.row?.key]' - @update:model-value='(newVal)=>apiDataTemp[scope.row?.key] = newVal' + :model-value="apiDataTemp[scope.row?.key]" + @update:model-value=" + (newVal) => (apiDataTemp[scope.row?.key] = newVal) + " >
{{ apiDataTemp[scope.row?.key] }}
@@ -397,52 +428,76 @@
- 编辑 - - + 编辑 +
- 导入 - 保存 + 导入 + 保存
- + - +
- 保存 + 保存
- - - + +
- 保存 + 保存