¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | <!--å¼ç¨è¡¨æ ¼--> |
| | | <BasicTable @register="registerTable" :rowSelection="rowSelection"> |
| | | <!--ææ§½:tableæ é¢--> |
| | | <template #tableTitle> |
| | | <a-button type="primary" @click="handleAdd" preIcon="ant-design:plus-outlined"> æ°å¢ </a-button> |
| | | <a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> å¯¼åº </a-button> |
| | | <j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls"> 导å
¥ </j-upload-button> |
| | | <a-dropdown v-if="selectedRowKeys.length > 0"> |
| | | <template #overlay> |
| | | <a-menu> |
| | | <a-menu-item key="1" @click="batchHandleDelete"> |
| | | <Icon icon="ant-design:delete-outlined" /> |
| | | å é¤ |
| | | </a-menu-item> |
| | | </a-menu> |
| | | </template> |
| | | <a-button |
| | | >æ¹éæä½ |
| | | <Icon icon="mdi:chevron-down" /> |
| | | </a-button> |
| | | </a-dropdown> |
| | | </template> |
| | | <!--æä½æ --> |
| | | <template #action="{ record }"> |
| | | <TableAction :actions="getTableAction(record)" :dropDownActions="getDropDownAction(record)" /> |
| | | </template> |
| | | <!--åæ®µåæ¾ææ§½--> |
| | | <template #htmlSlot="{ text }"> |
| | | <div v-html="text"></div> |
| | | </template> |
| | | <!--çå¸åºåæ®µåæ¾ææ§½--> |
| | | <template #pcaSlot="{ text }"> |
| | | {{ getAreaTextByCode(text) }} |
| | | </template> |
| | | <template #fileSlot="{ text }"> |
| | | <span v-if="!text" style="font-size: 12px; font-style: italic">æ æä»¶</span> |
| | | <a-button v-else :ghost="true" type="primary" preIcon="ant-design:download-outlined" size="small" @click="downloadFile(text)">ä¸è½½ </a-button> |
| | | </template> |
| | | </BasicTable> |
| | | <!-- 表ååºå --> |
| | | <DryHerbInfoModal @register="registerModal" @success="handleSuccess" /> |
| | | </div> |
| | | </template> |
| | | |
| | | <script lang="ts" name="dry-dryHerbInfo" setup> |
| | | import { ref, computed, unref } from 'vue' |
| | | import { BasicTable, useTable, TableAction } from '/@/components/Table' |
| | | import { useModal } from '/@/components/Modal' |
| | | import { useListPage } from '/@/hooks/system/useListPage' |
| | | import DryHerbInfoModal from './components/DryHerbInfoModal.vue' |
| | | import { columns, searchFormSchema } from './dataDefine/DryHerbInfo.data' |
| | | import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './api/DryHerbInfo.api' |
| | | import { downloadFile } from '/@/utils/common/renderUtils' |
| | | |
| | | const checkedKeys = ref<Array<string | number>>([]) |
| | | //注åmodel |
| | | const [registerModal, { openModal }] = useModal() |
| | | //注åtableæ°æ® |
| | | const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ |
| | | tableProps: { |
| | | title: 'dry_herb_info', |
| | | api: list, |
| | | columns, |
| | | canResize: false, |
| | | formConfig: { |
| | | //labelWidth: 120, |
| | | schemas: searchFormSchema, |
| | | autoSubmitOnEnter: true, |
| | | showAdvancedButton: true, |
| | | fieldMapToNumber: [], |
| | | fieldMapToTime: [], |
| | | }, |
| | | actionColumn: { |
| | | width: 120, |
| | | fixed: 'right', |
| | | }, |
| | | }, |
| | | exportConfig: { |
| | | name: 'dry_herb_info', |
| | | url: getExportUrl, |
| | | }, |
| | | importConfig: { |
| | | url: getImportUrl, |
| | | success: handleSuccess, |
| | | }, |
| | | }) |
| | | |
| | | const [registerTable, { reload }, { rowSelection, selectedRowKeys }] = tableContext |
| | | |
| | | /** |
| | | * æ°å¢äºä»¶ |
| | | */ |
| | | function handleAdd() { |
| | | openModal(true, { |
| | | isUpdate: false, |
| | | showFooter: true, |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * ç¼è¾äºä»¶ |
| | | */ |
| | | function handleEdit(record: Recordable) { |
| | | openModal(true, { |
| | | record, |
| | | isUpdate: true, |
| | | showFooter: true, |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * 详æ
|
| | | */ |
| | | function handleDetail(record: Recordable) { |
| | | openModal(true, { |
| | | record, |
| | | isUpdate: true, |
| | | showFooter: false, |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * å é¤äºä»¶ |
| | | */ |
| | | async function handleDelete(record) { |
| | | await deleteOne({ id: record.id }, handleSuccess) |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤äºä»¶ |
| | | */ |
| | | async function batchHandleDelete() { |
| | | await batchDelete({ ids: selectedRowKeys.value }, handleSuccess) |
| | | } |
| | | |
| | | /** |
| | | * æååè° |
| | | */ |
| | | function handleSuccess() { |
| | | ;(selectedRowKeys.value = []) && reload() |
| | | } |
| | | |
| | | /** |
| | | * æä½æ |
| | | */ |
| | | function getTableAction(record) { |
| | | return [ |
| | | { |
| | | label: 'ç¼è¾', |
| | | onClick: handleEdit.bind(null, record), |
| | | }, |
| | | ] |
| | | } |
| | | |
| | | /** |
| | | * 䏿æä½æ |
| | | */ |
| | | function getDropDownAction(record) { |
| | | return [ |
| | | { |
| | | label: '详æ
', |
| | | onClick: handleDetail.bind(null, record), |
| | | }, |
| | | { |
| | | label: 'å é¤', |
| | | popConfirm: { |
| | | title: 'æ¯å¦ç¡®è®¤å é¤', |
| | | confirm: handleDelete.bind(null, record), |
| | | }, |
| | | }, |
| | | ] |
| | | } |
| | | </script> |
| | | |
| | | <style scoped></style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | import {defHttp} from '/@/utils/http/axios'; |
| | | import { useMessage } from "/@/hooks/web/useMessage"; |
| | | |
| | | const { createConfirm } = useMessage(); |
| | | |
| | | enum Api { |
| | | list = '/dry/dryHerbInfo/list', |
| | | save='/dry/dryHerbInfo/add', |
| | | edit='/dry/dryHerbInfo/edit', |
| | | deleteOne = '/dry/dryHerbInfo/delete', |
| | | deleteBatch = '/dry/dryHerbInfo/deleteBatch', |
| | | importExcel = '/dry/dryHerbInfo/importExcel', |
| | | exportXls = '/dry/dryHerbInfo/exportXls', |
| | | } |
| | | /** |
| | | * 导åºapi |
| | | * @param params |
| | | */ |
| | | export const getExportUrl = Api.exportXls; |
| | | /** |
| | | * 导å
¥api |
| | | */ |
| | | export const getImportUrl = Api.importExcel; |
| | | /** |
| | | * å表æ¥å£ |
| | | * @param params |
| | | */ |
| | | export const list = (params) => |
| | | defHttp.get({url: Api.list, params}); |
| | | |
| | | /** |
| | | * å é¤å个 |
| | | */ |
| | | export const deleteOne = (params,handleSuccess) => { |
| | | return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { |
| | | handleSuccess(); |
| | | }); |
| | | } |
| | | /** |
| | | * æ¹éå é¤ |
| | | * @param params |
| | | */ |
| | | export const batchDelete = (params, handleSuccess) => { |
| | | createConfirm({ |
| | | iconType: 'warning', |
| | | title: '确认å é¤', |
| | | content: 'æ¯å¦å é¤é䏿°æ®', |
| | | okText: '确认', |
| | | cancelText: 'åæ¶', |
| | | onOk: () => { |
| | | return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { |
| | | handleSuccess(); |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | /** |
| | | * ä¿åæè
æ´æ° |
| | | * @param params |
| | | */ |
| | | export const saveOrUpdate = (params, isUpdate) => { |
| | | let url = isUpdate ? Api.edit : Api.save; |
| | | return defHttp.post({url: url, params}); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div style="min-height: 400px"> |
| | | <BasicForm @register="registerForm" /> |
| | | <div style="width: 100%; text-align: center" v-if="!formDisabled"> |
| | | <a-button @click="submitForm" pre-icon="ant-design:check" type="primary">æ 交</a-button> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script lang="ts"> |
| | | import { BasicForm, useForm } from '/@/components/Form/index' |
| | | import { computed, defineComponent } from 'vue' |
| | | import { defHttp } from '/@/utils/http/axios' |
| | | import { propTypes } from '/@/utils/propTypes' |
| | | import { getBpmFormSchema } from '../dataDefine/DryHerbInfo.data' |
| | | import { saveOrUpdate } from '../api/DryHerbInfo.api' |
| | | |
| | | export default defineComponent({ |
| | | name: 'DryHerbInfoForm', |
| | | components: { |
| | | BasicForm, |
| | | }, |
| | | props: { |
| | | formData: propTypes.object.def({}), |
| | | formBpm: propTypes.bool.def(true), |
| | | }, |
| | | setup(props) { |
| | | const [registerForm, { setFieldsValue, setProps, getFieldsValue }] = useForm({ |
| | | labelWidth: 150, |
| | | schemas: getBpmFormSchema(props.formData), |
| | | showActionButtonGroup: false, |
| | | baseColProps: { span: 24 }, |
| | | }) |
| | | |
| | | const formDisabled = computed(() => { |
| | | if (props.formData.disabled === false) { |
| | | return false |
| | | } |
| | | return true |
| | | }) |
| | | |
| | | let formData = {} |
| | | const queryByIdUrl = '/dry/dryHerbInfo/queryById' |
| | | async function initFormData() { |
| | | let params = { id: props.formData.dataId } |
| | | const data = await defHttp.get({ url: queryByIdUrl, params }) |
| | | formData = { ...data } |
| | | //设置表åçå¼ |
| | | await setFieldsValue(formData) |
| | | //é»è®¤æ¯ç¦ç¨ |
| | | await setProps({ disabled: formDisabled.value }) |
| | | } |
| | | |
| | | async function submitForm() { |
| | | let data = getFieldsValue() |
| | | let params = Object.assign({}, formData, data) |
| | | console.log('è¡¨åæ°æ®', params) |
| | | await saveOrUpdate(params, true) |
| | | } |
| | | |
| | | initFormData() |
| | | |
| | | return { |
| | | registerForm, |
| | | formDisabled, |
| | | submitForm, |
| | | } |
| | | }, |
| | | }) |
| | | </script> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <BasicModal v-bind="$attrs" @register="registerModal" destroyOnClose :title="title" :width="800" @ok="handleSubmit"> |
| | | <BasicForm @register="registerForm" /> |
| | | </BasicModal> |
| | | </template> |
| | | |
| | | <script lang="ts" setup> |
| | | import { ref, computed, unref } from 'vue' |
| | | import { BasicModal, useModalInner } from '/@/components/Modal' |
| | | import { BasicForm, useForm } from '/@/components/Form/index' |
| | | import { formSchema } from '../dataDefine/DryHerbInfo.data' |
| | | import { saveOrUpdate } from '../api/DryHerbInfo.api' |
| | | // Emits声æ |
| | | const emit = defineEmits(['register', 'success']) |
| | | const isUpdate = ref(true) |
| | | //表åé
ç½® |
| | | const [registerForm, { setProps, resetFields, setFieldsValue, validate }] = useForm({ |
| | | //labelWidth: 150, |
| | | schemas: formSchema, |
| | | showActionButtonGroup: false, |
| | | baseColProps: { span: 24 }, |
| | | }) |
| | | //表åèµå¼ |
| | | const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => { |
| | | //é置表å |
| | | await resetFields() |
| | | setModalProps({ confirmLoading: false, showCancelBtn: !!data?.showFooter, showOkBtn: !!data?.showFooter }) |
| | | isUpdate.value = !!data?.isUpdate |
| | | if (unref(isUpdate)) { |
| | | //表åèµå¼ |
| | | await setFieldsValue({ |
| | | ...data.record, |
| | | }) |
| | | } |
| | | // éèåºé¨æ¶ç¦ç¨æ´ä¸ªè¡¨å |
| | | setProps({ disabled: !data?.showFooter }) |
| | | }) |
| | | //设置æ é¢ |
| | | const title = computed(() => (!unref(isUpdate) ? 'æ°å¢' : 'ç¼è¾')) |
| | | //表åæäº¤äºä»¶ |
| | | async function handleSubmit(v) { |
| | | try { |
| | | let values = await validate() |
| | | setModalProps({ confirmLoading: true }) |
| | | //æäº¤è¡¨å |
| | | await saveOrUpdate(values, isUpdate.value) |
| | | //å
³éå¼¹çª |
| | | closeModal() |
| | | //å·æ°å表 |
| | | emit('success') |
| | | } finally { |
| | | setModalProps({ confirmLoading: false }) |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | /** æ¶é´åæ°åè¾å
¥æ¡æ ·å¼ */ |
| | | :deep(.ant-input-number) { |
| | | width: 100%; |
| | | } |
| | | |
| | | :deep(.ant-calendar-picker) { |
| | | width: 100%; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | import {BasicColumn} from '/@/components/Table'; |
| | | import {FormSchema} from '/@/components/Table'; |
| | | |
| | | //åè¡¨æ°æ® |
| | | export const columns: BasicColumn[] = [ |
| | | { |
| | | title: 'ä¸è¯å', |
| | | align:"center", |
| | | dataIndex: 'name' |
| | | }, |
| | | { |
| | | title: 'æ¼é³', |
| | | align:"center", |
| | | dataIndex: 'pinyin' |
| | | }, |
| | | { |
| | | title: 'å«å', |
| | | align:"center", |
| | | dataIndex: 'alias' |
| | | }, |
| | | { |
| | | title: 'è±æå', |
| | | align:"center", |
| | | dataIndex: 'english' |
| | | }, |
| | | { |
| | | title: 'è¯ç¨é¨ä½', |
| | | align:"center", |
| | | dataIndex: 'parts' |
| | | }, |
| | | { |
| | | title: 'æ¤ç©å½¢æ', |
| | | align:"center", |
| | | dataIndex: 'morphology' |
| | | }, |
| | | { |
| | | title: '产å°åå¸', |
| | | align:"center", |
| | | dataIndex: 'origin' |
| | | }, |
| | | { |
| | | title: 'éæ¶å å·¥', |
| | | align:"center", |
| | | dataIndex: 'harvest' |
| | | }, |
| | | { |
| | | title: 'è¯ææ§ç¶', |
| | | align:"center", |
| | | dataIndex: 'characterDrug' |
| | | }, |
| | | { |
| | | title: 'æ§å³å½ç»', |
| | | align:"center", |
| | | dataIndex: 'famt' |
| | | }, |
| | | { |
| | | title: 'åæä¸ä½ç¨', |
| | | align:"center", |
| | | dataIndex: 'efficacy' |
| | | }, |
| | | { |
| | | title: '临åºåºç¨', |
| | | align:"center", |
| | | dataIndex: 'clinical' |
| | | }, |
| | | { |
| | | title: 'è¯çç ç©¶', |
| | | align:"center", |
| | | dataIndex: 'pharmacological' |
| | | }, |
| | | { |
| | | title: 'ä¸»è¦æå', |
| | | align:"center", |
| | | dataIndex: 'bases' |
| | | }, |
| | | { |
| | | title: '使ç¨ç¦å¿', |
| | | align:"center", |
| | | dataIndex: 'usageTaboo' |
| | | }, |
| | | { |
| | | title: 'ç§æ·id', |
| | | align:"center", |
| | | dataIndex: 'tenantId' |
| | | }, |
| | | ]; |
| | | //æ¥è¯¢æ°æ® |
| | | export const searchFormSchema: FormSchema[] = [ |
| | | { |
| | | label: "ä¸è¯å", |
| | | field: 'name', |
| | | component: 'JInput', |
| | | colProps: {span: 6}, |
| | | }, |
| | | { |
| | | label: "æ¼é³", |
| | | field: 'pinyin', |
| | | component: 'JInput', |
| | | colProps: {span: 6}, |
| | | }, |
| | | { |
| | | label: "å«å", |
| | | field: 'alias', |
| | | component: 'JInput', |
| | | colProps: {span: 6}, |
| | | }, |
| | | { |
| | | label: "è±æå", |
| | | field: 'english', |
| | | component: 'JInput', |
| | | colProps: {span: 6}, |
| | | }, |
| | | { |
| | | label: "产å°åå¸", |
| | | field: 'origin', |
| | | component: 'JInput', |
| | | colProps: {span: 6}, |
| | | }, |
| | | { |
| | | label: "åæä¸ä½ç¨", |
| | | field: 'efficacy', |
| | | component: 'JInput', |
| | | colProps: {span: 6}, |
| | | }, |
| | | ]; |
| | | //è¡¨åæ°æ® |
| | | export const formSchema: FormSchema[] = [ |
| | | { |
| | | label: 'ä¸è¯å', |
| | | field: 'name', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: 'æ¼é³', |
| | | field: 'pinyin', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: 'å«å', |
| | | field: 'alias', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: 'è±æå', |
| | | field: 'english', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: 'è¯ç¨é¨ä½', |
| | | field: 'parts', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: 'æ¤ç©å½¢æ', |
| | | field: 'morphology', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: '产å°åå¸', |
| | | field: 'origin', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: 'éæ¶å å·¥', |
| | | field: 'harvest', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: 'è¯ææ§ç¶', |
| | | field: 'characterDrug', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: 'æ§å³å½ç»', |
| | | field: 'famt', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: 'åæä¸ä½ç¨', |
| | | field: 'efficacy', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: '临åºåºç¨', |
| | | field: 'clinical', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: 'è¯çç ç©¶', |
| | | field: 'pharmacological', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: 'ä¸»è¦æå', |
| | | field: 'bases', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: '使ç¨ç¦å¿', |
| | | field: 'usageTaboo', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: 'ç§æ·id', |
| | | field: 'tenantId', |
| | | component: 'InputNumber', |
| | | }, |
| | | // TODO 主é®éèåæ®µï¼ç®ååæ»ä¸ºID |
| | | { |
| | | label: '', |
| | | field: 'id', |
| | | component: 'Input', |
| | | show: false |
| | | }, |
| | | ]; |
| | | |
| | | |
| | | |
| | | /** |
| | | * æµç¨è¡¨åè°ç¨è¿ä¸ªæ¹æ³è·åformSchema |
| | | * @param param |
| | | */ |
| | | export function getBpmFormSchema(_formData): FormSchema[]{ |
| | | // é»è®¤ååå§è¡¨åä¿æä¸è´ 妿æµç¨ä¸é
ç½®äºæéæ°æ®ï¼è¿ééè¦åç¬å¤çformSchema |
| | | return formSchema; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | -- 注æï¼è¯¥é¡µé¢å¯¹åºçåå°ç®å½ä¸ºviews/dryæä»¶å¤¹ä¸ |
| | | -- å¦æä½ æ³æ´æ¹å°å
¶ä»ç®å½ï¼è¯·ä¿®æ¹sqlä¸componentåæ®µå¯¹åºçå¼ |
| | | |
| | | |
| | | INSERT INTO sys_permission(id, parent_id, name, url, component, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_route, is_leaf, keep_alive, hidden, hide_tab, description, status, del_flag, rule_flag, create_by, create_time, update_by, update_time, internal_or_external) |
| | | VALUES ('2023122112489900070', NULL, 'dry_herb_info', '/dry/dryHerbInfoList', 'dry/DryHerbInfoList', NULL, NULL, 0, NULL, '1', 0.00, 0, NULL, 1, 0, 0, 0, 0, NULL, '1', 0, 0, 'admin', '2023-12-21 12:48:07', NULL, NULL, 0); |
| | | |
| | | -- æéæ§å¶sql |
| | | -- æ°å¢ |
| | | INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external) |
| | | VALUES ('2023122112489900071', '2023122112489900070', 'æ·»å dry_herb_info', NULL, NULL, 0, NULL, NULL, 2, 'dry:dry_herb_info:add', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-12-21 12:48:07', NULL, NULL, 0, 0, '1', 0); |
| | | -- ç¼è¾ |
| | | INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external) |
| | | VALUES ('2023122112489900072', '2023122112489900070', 'ç¼è¾dry_herb_info', NULL, NULL, 0, NULL, NULL, 2, 'dry:dry_herb_info:edit', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-12-21 12:48:07', NULL, NULL, 0, 0, '1', 0); |
| | | -- å é¤ |
| | | INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external) |
| | | VALUES ('2023122112489900073', '2023122112489900070', 'å é¤dry_herb_info', NULL, NULL, 0, NULL, NULL, 2, 'dry:dry_herb_info:delete', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-12-21 12:48:07', NULL, NULL, 0, 0, '1', 0); |
| | | -- æ¹éå é¤ |
| | | INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external) |
| | | VALUES ('2023122112489900074', '2023122112489900070', 'æ¹éå é¤dry_herb_info', NULL, NULL, 0, NULL, NULL, 2, 'dry:dry_herb_info:deleteBatch', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-12-21 12:48:07', NULL, NULL, 0, 0, '1', 0); |
| | | -- 导åºexcel |
| | | INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external) |
| | | VALUES ('2023122112489900075', '2023122112489900070', '导åºexcel_dry_herb_info', NULL, NULL, 0, NULL, NULL, 2, 'dry:dry_herb_info:exportXls', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-12-21 12:48:07', NULL, NULL, 0, 0, '1', 0); |
| | | -- 导å
¥excel |
| | | INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external) |
| | | VALUES ('2023122112489900076', '2023122112489900070', '导å
¥excel_dry_herb_info', NULL, NULL, 0, NULL, NULL, 2, 'dry:dry_herb_info:importExcel', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-12-21 12:48:07', NULL, NULL, 0, 0, '1', 0); |