From 06a6fae1a86e5e40e389f1e9e0b7180ec7800035 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 12 Oct 2023 17:59:07 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E8=9E=8D=E5=B8=82=E5=9C=BA=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/config.ts | 2 + src/assets/images/icon8-1.png | Bin 0 -> 2511 bytes src/layout/components/AppHeader.vue | 12 +- src/layout/components/AppSidebar/Menu.vue | 55 +---- src/layout/index.vue | 4 +- src/views/config/Buyer.vue | 286 +++++++++++----------- src/views/config/Financial.vue | 140 +++++++++++ src/views/config/Index.vue | 16 +- src/views/product/bank/Add.vue | 2 - src/views/product/bank/CardList.vue | 2 +- src/views/product/strategy/150.vue | 4 +- src/views/product/strategy/151.vue | 4 +- src/views/product/strategy/CardList.vue | 3 +- 13 files changed, 314 insertions(+), 216 deletions(-) create mode 100644 src/assets/images/icon8-1.png create mode 100644 src/views/config/Financial.vue diff --git a/src/api/config.ts b/src/api/config.ts index 468a498..c779298 100644 --- a/src/api/config.ts +++ b/src/api/config.ts @@ -6,3 +6,5 @@ export const ages = async (): Promise => (await axios.post('/product/ages/l export const edu = async (): Promise => (await axios.post('/product/edu/list')).data; export const accountType = async (): Promise => (await axios.post('/product/accountType/list')).data; export const buyerType = async (): Promise => (await axios.post('/product/buyerType/list')).data; +export const financialMarketFind = async (): Promise => (await axios.post('/product/financialMarket/details')).data; +export const financialMarketSave = async (data: Record): Promise => (await axios.post('/product/financialMarket/saveOrUpdate', data)).data; diff --git a/src/assets/images/icon8-1.png b/src/assets/images/icon8-1.png new file mode 100644 index 0000000000000000000000000000000000000000..c5c3e70108967cf90a0f599669ea2c11d448339b GIT binary patch literal 2511 zcmV;=2{87FP)Px;iAh93RA@uxn0t^E)fL9Sb8q+b%(xGheSkbf0-?}~C7>n|P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>BG0s?h6H! zwz=G28K2+EG^YtHN+`+!rVUi|`Tj~R8>EoYQ(R!mY^f|#&PoluOdeuJxshP_{Rs0< z!dg#gW}Xpac4~o|#(4b3_mXDop%?h3kc}Ny6i7nD3ghWnLuq=4peHcvs`B{V38hR! zo?f$)NRo!tHGJ(Lg~$66ew0a~dtbs@X&7fet}mOlOB``SmQqxS(1zF>sQ7uPx9giATSY z=Do+%g}hu@u$vVg&d$V7wS$>f7}0i_c69{5R}Ow*M=(-p6dHy3({t&aPQPLLca2$> zO&Bkg#PiEI>n;A{0_BQFzj*=ZX^Z%43~V3`Xa|kjLDULEplh6;IQ zb${7j4CyrVifZ#}2KY{amXasX{)-x~l%Xb$+urSMZ%N&;32RvAAB7yQ8$9Tc2jv5& zgLeG;1lrRg;lWNrPpNW$rVK9&pheSl@DF31;q6T)?U6fg_Rm2urY_(Kq_9T*PXm3> zj-t$pVu%$+H!suepb0qHX=qt^d}Og@*>z`Ik^9!>!@Tdv+7xa0aFUdbB3P^bom|NfYrJ=kVREo?)-Wo( ztk$$M-7wvpUp~iIvxEIs6gkNs0j$HAK6@ywxMHCNZ0?(EH8&trKIhtKojHc&ef -
+
{ - router.push(`/product?type=0&i=1&role=${type}`); -}; onMounted(() => {}); -const handleLogout = () => { - logout(); - // router.push(`/login?redirect=${route.fullPath}`); - window.location.reload(); -}; // 返回关卡 const toLevel = () => { router.push('/'); @@ -57,8 +49,6 @@ const toLevel = () => { const toRole = () => { router.push(`/role?levelId=${Cookies.get('sand-level')}`); }; - -const passwordFormVisible = ref(false); diff --git a/src/layout/components/AppSidebar/Menu.vue b/src/layout/components/AppSidebar/Menu.vue index 4c09d77..aad0c83 100644 --- a/src/layout/components/AppSidebar/Menu.vue +++ b/src/layout/components/AppSidebar/Menu.vue @@ -2,7 +2,7 @@
    -
  • -

    审批产品

  • +
  • + +

    参数配置

    +
diff --git a/src/views/config/Index.vue b/src/views/config/Index.vue index 891f711..7ae8c7d 100644 --- a/src/views/config/Index.vue +++ b/src/views/config/Index.vue @@ -4,10 +4,12 @@ @tab-click="tabChange"> - + + name="tab2"> + + import { ref, onMounted } from 'vue'; -import { ElMessage } from 'element-plus'; import type { TabsPaneContext } from 'element-plus'; import Buyer from './Buyer.vue'; - -defineProps({ modelValue: { type: Object, required: true } }); -defineEmits({ 'update:form': null }); +import Financial from './Financial.vue'; const curTab = ref('tab1'); @@ -31,10 +30,7 @@ const curTab = ref('tab1'); const tabChange = (tab: TabsPaneContext, event: Event) => { console.log(tab, event); }; -onMounted(() => { - // getGuarantee(); - // fetchData(); -}); +onMounted(() => {}); diff --git a/src/views/product/bank/Add.vue b/src/views/product/bank/Add.vue index 9d094ea..0e3eac7 100644 --- a/src/views/product/bank/Add.vue +++ b/src/views/product/bank/Add.vue @@ -201,11 +201,9 @@
- 万元
diff --git a/src/views/product/bank/CardList.vue b/src/views/product/bank/CardList.vue index 8a697b1..80425ec 100644 --- a/src/views/product/bank/CardList.vue +++ b/src/views/product/bank/CardList.vue @@ -115,7 +115,7 @@ const handleDelete = async (id: number) => { } .products { li { - @apply relative p-5 pt-7 mb-5 rounded-[10px] cursor-pointer border border-solid border-[transparent] bg-[url('@/assets/images/10.png')] bg-no-repeat; + @apply relative p-5 pt-7 mb-5 rounded-[10px] cursor-pointer border border-solid border-[transparent] bg-[url('@/assets/images/10.png')] bg-[length:100%_100%] bg-no-repeat; &.active { @apply border-[#CAE0FF]; } diff --git a/src/views/product/strategy/150.vue b/src/views/product/strategy/150.vue index 6b50038..7c79086 100644 --- a/src/views/product/strategy/150.vue +++ b/src/views/product/strategy/150.vue @@ -157,8 +157,8 @@ const getConfig = async () => { let symbol = cur?.ruleOne.match(/[<>=]+/g); let had = cur?.ruleOne.match(/[有无]+/g); let temp = { - checkpointId: Cookies.get('sand-level'), - projectId: Cookies.get('sand-projectId'), + checkpointId: levelId, + projectId, name: e.name, recordChildren: e.recordChildren, isRule: isRule(e.id) ? 1 : 0, diff --git a/src/views/product/strategy/151.vue b/src/views/product/strategy/151.vue index a698234..0aa817a 100644 --- a/src/views/product/strategy/151.vue +++ b/src/views/product/strategy/151.vue @@ -127,8 +127,8 @@ const getConfig = async () => { let symbol = cur?.ruleOne.match(/[<>=]+/g); let had = cur?.ruleOne.match(/[有无]+/g); let temp = { - checkpointId: Cookies.get('sand-level'), - projectId: Cookies.get('sand-projectId'), + checkpointId: levelId, + projectId, name: e.name, recordChildren: e.recordChildren, isRule: isRule(e.id) ? 1 : 0, diff --git a/src/views/product/strategy/CardList.vue b/src/views/product/strategy/CardList.vue index 30d2859..bbf7276 100644 --- a/src/views/product/strategy/CardList.vue +++ b/src/views/product/strategy/CardList.vue @@ -18,7 +18,8 @@
- +