dev
This commit is contained in:
parent
535b029a06
commit
3fe7e3b87d
|
|
@ -0,0 +1,3 @@
|
||||||
|
export enum apiConfig{
|
||||||
|
"ManagerLogin"="manager/manager/login"//登录
|
||||||
|
}
|
||||||
|
|
@ -1,143 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"name": "首页",
|
|
||||||
"icon": "icon-shouye",
|
|
||||||
"path": "/home/index",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"name": "首页",
|
|
||||||
"path": "/home/index"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "零售",
|
|
||||||
"icon": "icon-renminbi1688",
|
|
||||||
"path": "/retail/retail",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"name": "零售",
|
|
||||||
"path": "/retail/retail"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "零售单",
|
|
||||||
"path": "/retail/sales"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "对账",
|
|
||||||
"path": "/retail/flows"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "库存",
|
|
||||||
"icon": "icon-cangku",
|
|
||||||
"path": "/inventory/goods",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"name": "商品",
|
|
||||||
"path": "/inventory/goods"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "采购",
|
|
||||||
"path": "/inventory/purchase"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "领用",
|
|
||||||
"path": "/inventory/use"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "供应商",
|
|
||||||
"path": "/inventory/supplier"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "盘点",
|
|
||||||
"path": "/inventory/check"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "会员",
|
|
||||||
"icon": "icon-huiyuan",
|
|
||||||
"path": "/member/index",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"name": "首页",
|
|
||||||
"path": "/member/index"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "医保",
|
|
||||||
"icon": "icon-yibao",
|
|
||||||
"path": "/social/directory",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"name": "医保目录",
|
|
||||||
"path": "/social/directory"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "数据更新",
|
|
||||||
"path": "/social/update"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "进销存上报",
|
|
||||||
"path": "/social/inventoryUp"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "结算",
|
|
||||||
"path": "/social/costRecord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "对账",
|
|
||||||
"path": "/social/accountRecords"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "自费病人",
|
|
||||||
"path": "/social/selfPerson"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "统计",
|
|
||||||
"icon": "icon-tongjifenxi-xiangmubiaogetongji",
|
|
||||||
"path": "/statistics/overview",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"name": "营收统计",
|
|
||||||
"path": "/statistics/overView"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "设置",
|
|
||||||
"icon": "icon-shezhi",
|
|
||||||
"path": "/settings/baseinfo",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"name": "基本设置",
|
|
||||||
"path": "/settings/baseinfo"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "授权设置",
|
|
||||||
"path": "/settings/auth"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "用户管理",
|
|
||||||
"path": "/settings/userManage"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "打印管理",
|
|
||||||
"path": "/settings/print"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "模版管理",
|
|
||||||
"path": "/settings/template"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "操作日志",
|
|
||||||
"path": "/settings/operationLog"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
||||||
import {getKey} from "@/utils/discrotyUtil.ts";
|
import {getKey} from "@/utils/discrotyUtil.ts";
|
||||||
import insutypes from "@/assets/config/insutypes.json";
|
import insutypes from "@/assets/config/directory/insutypes.json";
|
||||||
import {onMounted, onUnmounted, ref} from "vue";
|
import {onMounted, onUnmounted, ref} from "vue";
|
||||||
import {ElMessage} from "element-plus";
|
import {ElMessage} from "element-plus";
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
||||||
import {getKey} from "@/utils/discrotyUtil.ts";
|
import {getKey} from "@/utils/discrotyUtil.ts";
|
||||||
import gends from "@/assets/config/gends.json";
|
import gends from "@/assets/config/directory/gends.json";
|
||||||
import natys from "@/assets/config/antys.json";
|
import natys from "@/assets/config/directory/antys.json";
|
||||||
import psnCertTypes from "@/assets/config/psnCertTypes.json";
|
import psnCertTypes from "@/assets/config/directory/psnCertTypes.json";
|
||||||
import insutypes from "@/assets/config/insutypes.json";
|
import insutypes from "@/assets/config/directory/insutypes.json";
|
||||||
import {onMounted, onUnmounted, ref} from "vue";
|
import {onMounted, onUnmounted, ref} from "vue";
|
||||||
import {ElMessage} from "element-plus";
|
import {ElMessage} from "element-plus";
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
||||||
import {getKey} from "@/utils/discrotyUtil.ts";
|
import {getKey} from "@/utils/discrotyUtil.ts";
|
||||||
import gends from "@/assets/config/gends.json";
|
import gends from "@/assets/config/directory/gends.json";
|
||||||
import natys from "@/assets/config/antys.json";
|
import natys from "@/assets/config/directory/antys.json";
|
||||||
import psnCertTypes from "@/assets/config/psnCertTypes.json";
|
import psnCertTypes from "@/assets/config/directory/psnCertTypes.json";
|
||||||
import insutypes from "@/assets/config/insutypes.json";
|
import insutypes from "@/assets/config/directory/insutypes.json";
|
||||||
import {onMounted, onUnmounted, ref} from "vue";
|
import {onMounted, onUnmounted, ref} from "vue";
|
||||||
import {ElMessage} from "element-plus";
|
import {ElMessage} from "element-plus";
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
||||||
import {getKey} from "@/utils/discrotyUtil.ts";
|
import {getKey} from "@/utils/discrotyUtil.ts";
|
||||||
import insutypes from "@/assets/config/insutypes.json";
|
import insutypes from "@/assets/config/directory/insutypes.json";
|
||||||
import {onMounted, onUnmounted, ref} from "vue";
|
import {onMounted, onUnmounted, ref} from "vue";
|
||||||
import {ElMessage} from "element-plus";
|
import {ElMessage} from "element-plus";
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@
|
||||||
import {defineProps, defineEmits, ref, onMounted} from 'vue'
|
import {defineProps, defineEmits, ref, onMounted} from 'vue'
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
import {loadConfig} from "@/utils/config.ts";
|
import {loadConfig} from "@/utils/config.ts";
|
||||||
import depts from "@/assets/config/depts.json"
|
import depts from "@/assets/config/directory/depts.json"
|
||||||
import UpLoad from "@/components/UpLoad.vue";
|
import UpLoad from "@/components/UpLoad.vue";
|
||||||
import {ElMessage} from 'element-plus'
|
import {ElMessage} from 'element-plus'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import {defineProps, onMounted, ref} from 'vue'
|
import {defineProps, onMounted, ref} from 'vue'
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
import depts from "@/assets/config/depts.json"
|
import depts from "@/assets/config/directory/depts.json"
|
||||||
|
|
||||||
// do not use same name with ref
|
// do not use same name with ref
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ import {nextTick, onMounted, ref} from "vue"
|
||||||
import Mask from '@/components/common/Mask.vue'
|
import Mask from '@/components/common/Mask.vue'
|
||||||
import SectionEdit from "@/components/settings/SectionEdit.vue";
|
import SectionEdit from "@/components/settings/SectionEdit.vue";
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
import deptsObj from '@/assets/config/depts.json'
|
import deptsObj from '@/assets/config/directory/depts.json'
|
||||||
import {formatDate} from '@/utils/dateUtils.ts'
|
import {formatDate} from '@/utils/dateUtils.ts'
|
||||||
|
|
||||||
const id = ref<any>("")
|
const id = ref<any>("")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue