This commit is contained in:
李想 2025-03-18 10:50:56 +08:00
parent cdbd5c3c62
commit bc4c3f11eb
4 changed files with 45 additions and 5 deletions

View File

@ -6,7 +6,7 @@ const inputSuppliesRoutes = [
path: '/sub-government-affairs-service/inputSuppliesManage',
name: 'inputSuppliesManage',
component: Layout,
redirect: '/sub-government-affairs-service/material',
redirect: '/sub-government-affairs-service/materialManage',
meta: { title: '投入品监管平台', icon: 'Document' },
children: [
// {
@ -15,6 +15,12 @@ const inputSuppliesRoutes = [
// component: () => import('@/views/inputSuppliesManage/inputDataView/index.vue'),
// meta: { title: '投入品资源一张图', icon: 'Document' },
// },
{
path: '/sub-government-affairs-service/materialManage',
name: 'materialManage',
component: () => import('@/views/inputSuppliesManage/materialManage/index.vue'),
meta: { title: '物资管理融合', icon: 'Document' },
},
{
path: '/sub-government-affairs-service/material',
name: 'material',

View File

@ -19,14 +19,15 @@ export function useBasicInfo() {
label: '化学成分',
value: '2',
children: [
{ label: '无机农药', value: '2-1' },
{ label: '生物农药', value: '2-2' },
{ label: '无机农药', pid: '2', value: '2-1' },
{ label: '生物农药', pid: '2', value: '2-2' },
{
label: '有机农药',
pid: '2',
value: '2-3',
children: [
{ label: '天然有机农药', value: '2-3-1' },
{ label: '人工合成农药', value: '2-3-2' },
{ label: '天然有机农药', pid: '2-3', value: '2-3-1' },
{ label: '人工合成农药', pid: '2-3', value: '2-3-2' },
],
},
],

View File

@ -0,0 +1,21 @@
<template>
<section>
<custom-rich-editor />
</section>
</template>
<script setup>
import { ref } from 'vue';
/* --------------- data --------------- */
// #region
// #endregion
/* --------------- methods --------------- */
// #region
// #endregion
</script>
<style lang="scss" scoped></style>

View File

@ -0,0 +1,12 @@
import { ref } from 'vue';
export const useMaterialHook = () => {
const pageData = ref({
currentPage: 1,
pageSize: 10,
total: 0,
});
const data = ref([]);
return { pageData, data };
};