guhongwei 3 年之前
父节点
当前提交
854a26cfb6
共有 2 个文件被更改,包括 51 次插入18 次删除
  1. 33 0
      src/layout/deploy/dict.js
  2. 18 18
      src/layout/deploy/site.js

+ 33 - 0
src/layout/deploy/dict.js

@@ -0,0 +1,33 @@
+// 用户类别
+export const type = [
+  { value: '0', label: '超级管理员' },
+  { value: '1', label: '科室人员' },
+  { value: '2', label: '办公室人员' },
+  { value: '3', label: '采购部门' },
+  { value: '4', label: '入库管理部门' },
+  { value: '5', label: '财务部门' },
+  { value: '6', label: '供货单位' },
+];
+// 采购需求表状态
+export const apply_status = [
+  { value: '0', label: '待审中' },
+  { value: '1', label: '通过' },
+  { value: '-1', label: '拒绝' },
+  { value: '2', label: '有货,可领取' },
+  { value: '3', label: '无货,需采买' },
+  { value: '4', label: '领取确认完成' },
+];
+// 采买需求表状态
+export const buy_status = [
+  { value: '0', label: '待供货单位确认' },
+  { value: '1', label: '同意订单,待送货' },
+  { value: '-1', label: '拒绝订单,无法送货' },
+  { value: '2', label: '订单已签收,待供货单位确认' },
+  { value: '3', label: '待财务确认' },
+  { value: '4', label: '财务已确认' },
+];
+// 库存商品类型
+export const stock_type = [
+  { value: '1', label: '固定资产' },
+  { value: '2', label: '商品' },
+];

+ 18 - 18
src/layout/deploy/site.js

@@ -1,27 +1,27 @@
 // 网站基本设置
 export const siteInfo = {
   display: false,
-  zhTitle: "耗材采购平台",
+  zhTitle: '耗材采购平台',
   // enTitle: 'Changchun Furui Technology Co., Ltd',
-  logo_url: require("../../assets/logo.png"),
+  logo_url: require('../../assets/logo.png'),
 };
 // 菜单设置
 export const menuInfo = {
   info: {
     display: false,
-    mode: "horizontal",
-    backColor: "#0085d2",
-    textColor: "#ffffff",
+    mode: 'horizontal',
+    backColor: '#0085d2',
+    textColor: '#ffffff',
     // actColor: '#fe950e',
     // actColor: '#ffffff',
   },
   menuList: [
-    { icon: "", index: "/live", title: "直播大厅" },
-    { icon: "", index: "/channel", title: "科技频道" },
-    { icon: "", index: "/market", title: "科技超市" },
-    { icon: "", index: "/interflow", title: "交流合作" },
-    { icon: "", index: "/service", title: "创新服务" },
-    { icon: "", index: "/universal", title: "科学普及" },
+    { icon: '', index: '/live', title: '直播大厅' },
+    { icon: '', index: '/channel', title: '科技频道' },
+    { icon: '', index: '/market', title: '科技超市' },
+    { icon: '', index: '/interflow', title: '交流合作' },
+    { icon: '', index: '/service', title: '创新服务' },
+    { icon: '', index: '/universal', title: '科学普及' },
   ],
 };
 // 轮播图设置
@@ -29,23 +29,23 @@ export const bannerInfo = {
   info: {
     display: false,
     // 轮播高度
-    height: "400px",
+    height: '400px',
     // 指示器触发方式-默认值:hover,click:点击
-    trigger: "",
+    trigger: '',
     // 是否自动切换-默认值:true
     autoplay: true,
     // 自动切换秒数
     interval: 3000,
     // 指示器位置显示-默认值:显示,outside:外部,none:不显示,
-    indicatorpos: "",
+    indicatorpos: '',
     // 切换箭头-默认值:鼠标滑过时显示,always:一直显示,never:一直隐藏
-    arrow: "",
+    arrow: '',
     // 轮播类型-card:卡片化
-    type: "",
+    type: '',
     // 是否循环显示:默认值:true
     loop: true,
     // 轮播垂直方向显示-默认值:横向,vertical:垂直
-    direction: "horizontal",
+    direction: 'horizontal',
   },
   list: [],
 };
@@ -53,5 +53,5 @@ export const bannerInfo = {
 export const footInfo = {
   display: true,
   content:
-    "<p>技术运营:长春市福瑞科技有限公司</p><p>技术支持:长春市福瑞科技有限公司</p><p>地址:吉林省长春市朝阳区前进大街1244号电话:12345678901微信:123456邮箱:123456@163.com</p><p>吉ICP备2020007658号-1 Copyright 2019 版权所有 长春市福瑞科技有限公司 All Rights Reserved</p>",
+    '<p>技术运营:长春市福瑞科技有限公司</p><p>技术支持:长春市福瑞科技有限公司</p><p>地址:吉林省长春市朝阳区前进大街1244号电话:12345678901微信:123456邮箱:123456@163.com</p><p>吉ICP备2020007658号-1 Copyright 2019 版权所有 长春市福瑞科技有限公司 All Rights Reserved</p>',
 };