no message
|
|
@ -1,3 +1,3 @@
|
|||
NODE_ENV=production
|
||||
VITE_APP_TITLE='SmartAdmin 测试环境(Test)'
|
||||
VITE_APP_API_URL='http://127.0.0.1:8000'
|
||||
VITE_APP_API_URL='http://127.0.0.1:1024'
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
node_modules
|
||||
.DS_Store
|
||||
**/.DS_Store
|
||||
dist
|
||||
dist-ssr
|
||||
*.local
|
||||
|
|
@ -18,8 +18,8 @@
|
|||
"type": "module",
|
||||
"dependencies": {
|
||||
"@ant-design/icons-vue": "^7.0.1",
|
||||
"@wangeditor/editor": "5.1.14",
|
||||
"@wangeditor/editor-for-vue": "5.1.12",
|
||||
"@wangeditor-next/editor": "5.6.34",
|
||||
"@wangeditor-next/editor-for-vue": "5.1.14",
|
||||
"ant-design-vue": "4.2.5",
|
||||
"axios": "1.6.8",
|
||||
"clipboard": "2.0.11",
|
||||
|
|
@ -46,8 +46,7 @@
|
|||
"vue": "3.4.27",
|
||||
"vue-i18n": "9.13.1",
|
||||
"vue-router": "4.3.2",
|
||||
"vue3-json-viewer": "2.2.2",
|
||||
"vue3-tabs-chrome": "^0.3.3"
|
||||
"vue3-json-viewer": "2.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "5.1.4",
|
||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
|
@ -44,15 +44,16 @@
|
|||
|
||||
<script setup lang="ts">
|
||||
import dayjs from 'dayjs';
|
||||
import { computed, h } from 'vue';
|
||||
import { computed, h, useSlots } from 'vue';
|
||||
import { messages } from '/@/i18n';
|
||||
import { useAppConfigStore } from '/@/store/modules/system/app-config';
|
||||
import { useSpinStore } from '/@/store/modules/system/spin';
|
||||
import { theme } from 'ant-design-vue';
|
||||
import { themeColors } from '/@/theme/color.js';
|
||||
import { Popover } from 'ant-design-vue';
|
||||
import SmartCopyIcon from '/@/components/smart-copy-icon/index.vue';
|
||||
import SmartCopyIcon from '/@/components/framework/smart-copy-icon/index.vue';
|
||||
|
||||
const slots = useSlots();
|
||||
const antdLocale = computed(() => messages[useAppConfigStore().language].antdLocale);
|
||||
const dayjsLocale = computed(() => messages[useAppConfigStore().language].dayjsLocale);
|
||||
dayjs.locale(dayjsLocale);
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
/**
|
||||
* 物料信息 枚举
|
||||
*
|
||||
* @Author: 霍锦
|
||||
* @Date: 2024-11-25 17:08:18
|
||||
* @Copyright 友仓
|
||||
*/
|
||||
|
||||
export const ITEM_UNIT_ENUM = {
|
||||
ITEM_UNIT: 'ITEM_UNIT',
|
||||
};
|
||||
|
||||
export const ITEM_TYPE_ENUM = {
|
||||
ITEM_TYPE: 'ITEM_TYPE',
|
||||
};
|
||||
|
||||
export default {
|
||||
ITEM_UNIT_ENUM,
|
||||
ITEM_TYPE_ENUM
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* 库位类型
|
||||
*
|
||||
*/
|
||||
|
||||
export const LOC_TYPE_ENUM = {
|
||||
LOC_TYPE: 'LOC_TYPE',
|
||||
};
|
||||
|
||||
export default {
|
||||
LOC_TYPE_ENUM,
|
||||
};
|
||||
|
|
@ -6,6 +6,10 @@
|
|||
* @Copyright 友仓
|
||||
*/
|
||||
|
||||
export const STOCK_TYPE_ENUM = {
|
||||
STOCK_TYPE: 'STOCK_TYPE',
|
||||
};
|
||||
|
||||
export default {
|
||||
};
|
||||
STOCK_TYPE_ENUM
|
||||
};
|
||||
|
|
@ -11,20 +11,20 @@ import { getRequest, postRequest } from '/@/lib/axios';
|
|||
|
||||
export const categoryApi = {
|
||||
// 添加类目 @author 卓大
|
||||
addCategory: (param: any) => {
|
||||
addCategory: (param) => {
|
||||
return postRequest('/category/add', param);
|
||||
},
|
||||
// GET
|
||||
// 删除类目 @author 卓大
|
||||
deleteCategoryById: (categoryId:number) => {
|
||||
return getRequest( `/category/delete/${categoryId}`, {});
|
||||
deleteCategoryById: (categoryId) => {
|
||||
return getRequest(`/category/delete/${categoryId}`);
|
||||
},
|
||||
// 查询类目层级树 @author 卓大
|
||||
queryCategoryTree: (param: any) => {
|
||||
queryCategoryTree: (param) => {
|
||||
return postRequest('/category/tree', param);
|
||||
},
|
||||
// 更新类目 @author 卓大
|
||||
updateCategory: (param:any) => {
|
||||
updateCategory: (param) => {
|
||||
return postRequest('/category/update', param);
|
||||
},
|
||||
};
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* 银行卡
|
||||
*
|
||||
* @Author: 善逸
|
||||
* @Date: 2022-09-03 21:42:08
|
||||
* @Wechat: zhuda1024
|
||||
* @Email: lab1024@163.com
|
||||
* @Copyright 1024创新实验室 ( https://1024lab.net ),Since 2012
|
||||
*/
|
||||
import { postRequest, getRequest } from '/@/lib/axios';
|
||||
|
||||
export const bankApi = {
|
||||
// 新建银行信息 @author 善逸
|
||||
create: (param) => {
|
||||
return postRequest('/oa/bank/create', param);
|
||||
},
|
||||
|
||||
// 删除银行信息 @author 善逸
|
||||
delete: (bankId) => {
|
||||
return getRequest(`/oa/bank/delete/${bankId}`);
|
||||
},
|
||||
|
||||
// 查询银行信息详情 @author 善逸
|
||||
detail: (bankId) => {
|
||||
return getRequest(`/oa/bank/get/${bankId}`);
|
||||
},
|
||||
|
||||
// 分页查询银行信息 @author 善逸
|
||||
pageQuery: (param) => {
|
||||
return postRequest('/oa/bank/page/query', param);
|
||||
},
|
||||
|
||||
// 编辑银行信息 @author 善逸
|
||||
update: (param) => {
|
||||
return postRequest('/oa/bank/update', param);
|
||||
},
|
||||
|
||||
// 根据企业ID查询不分页的银行列表 @author 善逸
|
||||
queryList: (enterpriseId) => {
|
||||
return getRequest(`/oa/bank/query/list/${enterpriseId}`);
|
||||
},
|
||||
};
|
||||
|
|
@ -11,58 +11,58 @@ import {postRequest, getRequest, postDownload} from '/@/lib/axios';
|
|||
|
||||
export const enterpriseApi = {
|
||||
// 新建企业 @author 开云
|
||||
create: (param: any) => {
|
||||
create: (param) => {
|
||||
return postRequest('/oa/enterprise/create', param);
|
||||
},
|
||||
|
||||
// 删除企业 @author 开云
|
||||
delete: (enterpriseId: number) => {
|
||||
return getRequest(`/oa/enterprise/delete/${enterpriseId}`, {});
|
||||
delete: (enterpriseId) => {
|
||||
return getRequest(`/oa/enterprise/delete/${enterpriseId}`);
|
||||
},
|
||||
|
||||
// 查询企业详情 @author 开云
|
||||
detail: (enterpriseId: number) => {
|
||||
return getRequest(`/oa/enterprise/get/${enterpriseId}`, {});
|
||||
detail: (enterpriseId) => {
|
||||
return getRequest(`/oa/enterprise/get/${enterpriseId}`);
|
||||
},
|
||||
|
||||
// 分页查询企业模块 @author 开云
|
||||
pageQuery: (param: any) => {
|
||||
pageQuery: (param) => {
|
||||
return postRequest('/oa/enterprise/page/query', param);
|
||||
},
|
||||
|
||||
// 导出企业数据excel @author 卓大
|
||||
exportExcel: (param: any) => {
|
||||
exportExcel: (param) => {
|
||||
return postDownload('/oa/enterprise/exportExcel', param);
|
||||
},
|
||||
|
||||
//企业列表查询 含数据范围 @author 开云
|
||||
queryList: (type: string) => {
|
||||
queryList: (type) => {
|
||||
let query = '';
|
||||
if (type) {
|
||||
query = `?type=${type}`;
|
||||
}
|
||||
return getRequest(`/oa/enterprise/query/list${query}`, {});
|
||||
return getRequest(`/oa/enterprise/query/list${query}`);
|
||||
},
|
||||
|
||||
// 编辑企业 @author 开云
|
||||
update: (param: any) => {
|
||||
update: (param) => {
|
||||
return postRequest('/oa/enterprise/update', param);
|
||||
},
|
||||
// 企业全部员工List @author yandy
|
||||
employeeList: (param: any) => {
|
||||
employeeList: (param) => {
|
||||
return postRequest('/oa/enterprise/employee/list', param);
|
||||
},
|
||||
// 分页查询企业员工List @author 卓大
|
||||
queryPageEmployeeList: (param: any) => {
|
||||
queryPageEmployeeList: (param) => {
|
||||
return postRequest('/oa/enterprise/employee/queryPage', param);
|
||||
},
|
||||
// 添加员工 @author yandy
|
||||
addEmployee: (param: any) => {
|
||||
addEmployee: (param) => {
|
||||
return postRequest('/oa/enterprise/employee/add', param);
|
||||
},
|
||||
|
||||
// 删除员工 @author yandy
|
||||
deleteEmployee: (param: any) => {
|
||||
deleteEmployee: (param) => {
|
||||
return postRequest('/oa/enterprise/employee/delete', param);
|
||||
},
|
||||
|
||||
|
|
@ -0,0 +1,75 @@
|
|||
/*
|
||||
* 字典
|
||||
*
|
||||
* @Author: 1024创新实验室-主任:卓大
|
||||
* @Date: 2022-09-03 21:55:25
|
||||
* @Wechat: zhuda1024
|
||||
* @Email: lab1024@163.com
|
||||
* @Copyright 1024创新实验室 ( https://1024lab.net ),Since 2012
|
||||
*/
|
||||
import { postRequest, getRequest } from '/@/lib/axios';
|
||||
|
||||
export const dictApi = {
|
||||
|
||||
// 获取所有字典code @author 1024创新实验室-主任-卓大
|
||||
getAllDict: () => {
|
||||
return getRequest('/support/dict/getAllDict');
|
||||
},
|
||||
|
||||
// 获取全部字典数据 @author 1024创新实验室-主任-卓大
|
||||
getAllDictData: () => {
|
||||
return getRequest('/support/dict/getAllDictData');
|
||||
},
|
||||
|
||||
// 分页查询 @author 1024创新实验室-主任-卓大
|
||||
queryDict: (param) => {
|
||||
return postRequest('/support/dict/queryPage', param);
|
||||
},
|
||||
|
||||
// 添加 @author 1024创新实验室-主任-卓大
|
||||
addDict: (param) => {
|
||||
return postRequest('/support/dict/add', param);
|
||||
},
|
||||
|
||||
// 更新 @author 1024创新实验室-主任-卓大
|
||||
updateDict: (param) => {
|
||||
return postRequest('/support/dict/update', param);
|
||||
},
|
||||
|
||||
// 字典-删除- @author 卓大
|
||||
batchDeleteDict: (dictIdList) => {
|
||||
return postRequest('/support/dict/batchDelete', dictIdList);
|
||||
},
|
||||
|
||||
// 字典 启用 禁用 @author 1024创新实验室-主任-卓大
|
||||
updateDisabled: (dictId) => {
|
||||
return getRequest(`/support/dict/updateDisabled/${dictId}`);
|
||||
},
|
||||
|
||||
// ------------- 查询字典数据 -------------
|
||||
|
||||
// 字典数据 分页查询 @author 1024创新实验室-主任-卓大
|
||||
queryDictData: (dictId) => {
|
||||
return getRequest(`/support/dict/dictData/queryDictData/${dictId}`);
|
||||
},
|
||||
|
||||
// 字典数据 添加 - @author 卓大
|
||||
addDictData: (param) => {
|
||||
return postRequest('/support/dict/dictData/add', param);
|
||||
},
|
||||
|
||||
// 字典数据 更新- @author 卓大
|
||||
updateDictData: (param) => {
|
||||
return postRequest('/support/dict/dictData/update', param);
|
||||
},
|
||||
|
||||
// 字典数据-删除- @author 卓大
|
||||
batchDeleteDictData: (dictDataIdList) => {
|
||||
return postRequest('/support/dict/dictData/batchDelete', dictDataIdList);
|
||||
},
|
||||
|
||||
// 字典数据 启用 禁用 @author 1024创新实验室-主任-卓大
|
||||
updateDictDataDisabled: (dictDataId) => {
|
||||
return getRequest(`/support/dict/dictData/updateDisabled/${dictDataId}`);
|
||||
},
|
||||
};
|
||||
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 382 KiB After Width: | Height: | Size: 382 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 354 KiB After Width: | Height: | Size: 354 KiB |
|
Before Width: | Height: | Size: 234 KiB After Width: | Height: | Size: 234 KiB |
|
Before Width: | Height: | Size: 181 KiB After Width: | Height: | Size: 181 KiB |
|
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 272 KiB |
|
Before Width: | Height: | Size: 206 KiB After Width: | Height: | Size: 206 KiB |
|
Before Width: | Height: | Size: 394 KiB After Width: | Height: | Size: 394 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 12 MiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |