| | |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/obj/project.assets.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/obj/project.nuget.cache |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/obj/WIDESEA_WMSServer.csproj.nuget.dgspec.json |
| | | *.log |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_BusinessesRepository/bin/Debug/net6.0/WIDESEA_BusinessesRepository.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_BusinessServices/bin/Debug/net6.0/WIDESEA_BusinessServices.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Common/bin/Debug/net6.0/WIDESEA_Common.deps.json |
| | | *.Up2Date |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_DTO/bin/Debug/net6.0/WIDESEA_DTO.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IBusinessesRepository/bin/Debug/net6.0/WIDESEA_IBusinessesRepository.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IBusinessServices/bin/Debug/net6.0/WIDESEA_IBusinessServices.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IRepository/bin/Debug/net6.0/WIDESEA_IRepository.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStorageBasicRepository/bin/Debug/net6.0/WIDESEA_IStorageBasicRepository.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStorageBasicService/bin/Debug/net6.0/WIDESEA_IStorageBasicServices.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStorageOutOrderRepository/bin/Debug/net6.0/WIDESEA_IStorageOutOrderRepository.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IServices/bin/Debug/net6.0/WIDESEA_IServices.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStorageOutOrderService/bin/Debug/net6.0/WIDESEA_IStorageOutOrderServices.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStorageTaskRepository/bin/Debug/net6.0/WIDESEA_IStorageTaskRepository.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStorageTaskService/bin/Debug/net6.0/WIDESEA_IStorageTaskServices.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Model/bin/Debug/net6.0/WIDESEA_Model.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/645b4998-8411-4e6e-9188-d68098350951.vsidx |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Repository/bin/Debug/net6.0/WIDESEA_Repository.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Services/bin/Debug/net6.0/WIDESEA_Services.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageOutOrderServices/bin/Debug/net6.0/WIDESEA_StorageOutOrderServices.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageOutOrderRepository/bin/Debug/net6.0/WIDESEA_StorageOutOrderRepository.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskRepository/bin/Debug/net6.0/WIDESEA_StorageTaskRepository.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/bin/Debug/net6.0/WIDESEA_StorageBasicServices.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicRepository/bin/Debug/net6.0/WIDESEA_StorageBasicRepository.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/bin/Debug/net6.0/WIDESEA_StorageTaskServices.deps.json |
| | | /Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/bin/Debug/net6.0/WIDESEA_WMSServer.deps.json |
| | |
| | | import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router' |
| | | import form from './form' |
| | | import formsMulti from './formsMulti' |
| | | import tables from './tables' |
| | | import viewgird from './viewGird' |
| | | import store from '../store/index' |
| | | import redirect from './redirect' |
| | | import charts from './charts' |
| | | const routes = [ |
| | | { |
| | | path: '/', |
| | |
| | | component: () => import('@/views/Index'), |
| | | redirect: '/home', |
| | | children: [ |
| | | ...form,//Demo表åè·¯ç± |
| | | ...formsMulti, |
| | | ...tables,//tables |
| | | ...viewgird, |
| | | ...redirect, |
| | | ...charts, |
| | | { |
| | | path: '/home', |
| | | name: 'home', |
| | |
| | | }, { |
| | | path: '/UserInfo', |
| | | name: 'UserInfo', |
| | | component: () => import('@/views/system/UserInfo.vue') |
| | | component: () => import('@/views/system/UserInfo.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/sysMenu', |
| | | name: 'sysMenu', |
| | | component: () => import('@/views/system/Sys_Menu.vue') |
| | | component: () => import('@/views/system/Sys_Menu.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, { |
| | | path: '/coder', |
| | | name: 'coder', |
| | | component: () => import('@/views/builder/coder.vue') |
| | | component: () => import('@/views/builder/coder.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/formDraggable', //表å设计 |
| | | name: 'formDraggable', |
| | | component: () => import('@/views/formDraggable/formDraggable.vue') |
| | | component: () => import('@/views/formDraggable/formDraggable.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/formSubmit', //表åæäº¤é¡µé¢ |
| | |
| | | { |
| | | path: '/Dt_AreaInfo', |
| | | name: 'Dt_AreaInfo', |
| | | component: () => import('@/views/widesea_wms/basicinfo/Dt_AreaInfo.vue') |
| | | component: () => import('@/views/widesea_wms/basicinfo/Dt_AreaInfo.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_BillGroupStock', |
| | | name: 'Dt_BillGroupStock', |
| | | component: () => import('@/views/widesea_wms/stock/Dt_BillGroupStock.vue') |
| | | component: () => import('@/views/widesea_wms/stock/Dt_BillGroupStock.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | // { |
| | | // path: '/Dt_BillGroupStockDetail', |
| | |
| | | { |
| | | path: '/Dt_InboundOrder', |
| | | name: 'Dt_InboundOrder', |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_InboundOrder.vue') |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_InboundOrder.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_InboundOrderDetail', |
| | | name: 'Dt_InboundOrderDetail', |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_InboundOrderDetail.vue') |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_InboundOrderDetail.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_LocationInfo', |
| | | name: 'Dt_LocationInfo', |
| | | component: () => import('@/views/widesea_wms/basicinfo/Dt_LocationInfo.vue') |
| | | component: () => import('@/views/widesea_wms/basicinfo/Dt_LocationInfo.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_MaterielAttribute', |
| | | name: 'Dt_MaterielAttribute', |
| | | component: () => import('@/views/widesea_wms/material/Dt_MaterielAttribute.vue') |
| | | component: () => import('@/views/widesea_wms/material/Dt_MaterielAttribute.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_MaterielInfo', |
| | | name: 'Dt_MaterielInfo', |
| | | component: () => import('@/views/widesea_wms/material/Dt_MaterielInfo.vue') |
| | | component: () => import('@/views/widesea_wms/material/Dt_MaterielInfo.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_OutOrder', |
| | | name: 'Dt_OutOrder', |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrder.vue') |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrder.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_OutOrderAndStock', |
| | | name: 'Dt_OutOrderAndStock', |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderAndStock.vue') |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderAndStock.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_OutOrderDetail', |
| | | name: 'Dt_OutOrderDetail', |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderDetail.vue') |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderDetail.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_OutOrderProduction', |
| | | name: 'Dt_OutOrderProduction', |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderProduction.vue') |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderProduction.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_OutOrderProductionDetail', |
| | | name: 'Dt_OutOrderProductionDetail', |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderProductionDetail.vue') |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderProductionDetail.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_OutOrderTransfer', |
| | | name: 'Dt_OutOrderTransfer', |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderTransfer.vue') |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderTransfer.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_OutOrderTransferDetail', |
| | | name: 'Dt_OutOrderTransferDetail', |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderTransferDetail.vue') |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderTransferDetail.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_RoadWayInfo', |
| | | name: 'Dt_RoadWayInfo', |
| | | component: () => import('@/views/widesea_wms/basicinfo/Dt_RoadWayInfo.vue') |
| | | component: () => import('@/views/widesea_wms/basicinfo/Dt_RoadWayInfo.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_Strategy', |
| | | name: 'Dt_Strategy', |
| | | component: () => import('@/views/widesea_wms/basicinfo/Dt_Strategy.vue') |
| | | component: () => import('@/views/widesea_wms/basicinfo/Dt_Strategy.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_Task', |
| | | name: 'Dt_Task', |
| | | |
| | | component: () => import('@/views/widesea_wms/taskinfo/Dt_Task.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_TaskOut', |
| | | name: 'Dt_TaskOut', |
| | | component: () => import('@/views/widesea_wms/taskinfo/Dt_TaskOut.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | |
| | | { |
| | | path: '/Dt_UnitInfo', |
| | | name: 'Dt_UnitInfo', |
| | | component: () => import('@/views/widesea_wms/basicinfo/Dt_UnitInfo.vue') |
| | | component: () => import('@/views/widesea_wms/basicinfo/Dt_UnitInfo.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_WareAreaInfo', |
| | | name: 'Dt_WareAreaInfo', |
| | | component: () => import('@/views/widesea_wms/basicinfo/Dt_WareAreaInfo.vue') |
| | | component: () => import('@/views/widesea_wms/basicinfo/Dt_WareAreaInfo.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Dt_OutOrderSorting', |
| | | name: 'Dt_OutOrderSorting', |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderSorting.vue') |
| | | component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderSorting.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | // { |
| | | // path: '/Sys_Config', |
| | |
| | | { |
| | | path: '/PointStackerRelation', |
| | | name: 'PointStackerRelation', |
| | | component: () => import('@/views/widesea_wms/basicinfo/PointStackerRelation.vue') |
| | | component: () => import('@/views/widesea_wms/basicinfo/PointStackerRelation.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/LocationStatusChange', |
| | | name: 'LocationStatusChange', |
| | | component: () => import('@/views/widesea_wms/basicinfo/LocationStatusChange.vue') |
| | | component: () => import('@/views/widesea_wms/basicinfo/LocationStatusChange.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | } |
| | | ] |
| | | export default tables |
| | |
| | | |
| | | let viewgird = [ |
| | | { |
| | | path: '/Sys_Log', |
| | | name: 'sys_Log', |
| | | component: () => import('@/views/system/Sys_Log.vue') |
| | | component: () => import('@/views/system/Sys_Log.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Sys_User', |
| | | name: 'Sys_User', |
| | | component: () => import('@/views/system/Sys_User.vue') |
| | | component: () => import('@/views/system/Sys_User.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/permission', |
| | | name: 'permission', |
| | | component: () => import('@/views/system/Permission.vue') |
| | | component: () => import('@/views/system/Permission.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | |
| | | { |
| | | path: '/Sys_Dictionary', |
| | | name: 'Sys_Dictionary', |
| | | component: () => import('@/views/system/Sys_Dictionary.vue') |
| | | component: () => import('@/views/system/Sys_Dictionary.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Sys_Role', |
| | | name: 'Sys_Role', |
| | | component: () => import('@/views/system/Sys_Role.vue') |
| | | component: () => import('@/views/system/Sys_Role.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | // { |
| | | // path: '/Sys_Role1', |
| | | // name: 'Sys_Role1', |
| | | // component: () => import('@/views/system/Sys_Role1.vue') |
| | | // } |
| | | // , |
| | | // , |
| | | { |
| | | path: '/Sys_DictionaryList', |
| | | name: 'Sys_DictionaryList', |
| | | component: () => import('@/views/system/Sys_DictionaryList.vue') |
| | | }, { |
| | | component: () => import('@/views/system/Sys_DictionaryList.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/FormDesignOptions', |
| | | name: 'FormDesignOptions', |
| | | component: () => import('@/views/system/form/FormDesignOptions.vue') |
| | | }, { |
| | | component: () => import('@/views/system/form/FormDesignOptions.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/FormCollectionObject', |
| | | name: 'FormCollectionObject', |
| | | component: () => import('@/views/system/form/FormCollectionObject.vue') |
| | | }, { |
| | | component: () => import('@/views/system/form/FormCollectionObject.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Sys_WorkFlow', |
| | | name: 'Sys_WorkFlow', |
| | | component: () => import('@/views/system/flow/Sys_WorkFlow.vue') |
| | | }, { |
| | | component: () => import('@/views/system/flow/Sys_WorkFlow.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Sys_WorkFlowTable', |
| | | name: 'Sys_WorkFlowTable', |
| | | component: () => import('@/views/system/flow/Sys_WorkFlowTable.vue') |
| | | }, { |
| | | component: () => import('@/views/system/flow/Sys_WorkFlowTable.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Sys_QuartzOptions', |
| | | name: 'Sys_QuartzOptions', |
| | | component: () => import('@/views/system/quartz/Sys_QuartzOptions.vue') |
| | | }, { |
| | | component: () => import('@/views/system/quartz/Sys_QuartzOptions.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Sys_QuartzLog', |
| | | name: 'Sys_QuartzLog', |
| | | component: () => import('@/views/system/quartz/Sys_QuartzLog.vue') |
| | | }, { |
| | | component: () => import('@/views/system/quartz/Sys_QuartzLog.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/Sys_Department', |
| | | name: 'Sys_Department', |
| | | component: () => import('@/views/system/system/Sys_Department.vue') |
| | | }] |
| | | component: () => import('@/views/system/system/Sys_Department.vue'), |
| | | meta: { |
| | | keepAlive: false |
| | | } |
| | | } |
| | | ] |
| | | |
| | | export default viewgird |
| | |
| | | var chart1 = { |
| | | title: { |
| | | text: "æ¡æ¶éæåå¼åç¯å¢", |
| | | left: 'center', |
| | | padding: 15, |
| | | }, |
| | | tooltip: { |
| | | trigger: 'item' |
| | | }, |
| | | legend: { |
| | | top: 'bottom', |
| | | icon: "circle", // è¿ä¸ªå段æ§å¶å½¢ç¶ ç±»åå
æ¬ circleï¼rect ï¼roundRectï¼triangleï¼diamondï¼pinï¼arrowï¼none |
| | | itemWidth: 10, // 设置宽度 |
| | | itemHeight: 10, // 设置é«åº¦ |
| | | itemGap: 7,// 设置é´è· |
| | | padding: [0, 0, 15, 0] //å¾ä¾è·ç¦» |
| | | }, |
| | | series: [ |
| | | { |
| | | name: 'æ¡æ¶', |
| | | type: 'pie', |
| | | radius: ['40%', '65%'], |
| | | avoidLabelOverlap: false, |
| | | itemStyle: { |
| | | borderRadius: 10, |
| | | borderColor: '#fff', |
| | | borderWidth: 2 |
| | | }, |
| | | label: { |
| | | show: false, |
| | | position: 'center' |
| | | }, |
| | | emphasis: { |
| | | label: { |
| | | show: true, |
| | | fontSize: '40', |
| | | fontWeight: 'bold' |
| | | } |
| | | }, |
| | | labelLine: { |
| | | show: false |
| | | }, |
| | | data: [ |
| | | { value: 1048, name: '.NetCore' }, |
| | | { value: 735, name: 'Dapper' }, |
| | | |
| | | { value: 735, name: 'EntityFramework' }, |
| | | // { value: 735, name: 'JWT' }, |
| | | { value: 735, name: 'Redis' }, |
| | | { value: 735, name: 'Vue3.0' }, |
| | | { value: 580, name: 'Vuex' }, |
| | | { value: 484, name: 'Element plus' } |
| | | ] |
| | | title: { |
| | | text: 'æ¡æ¶éæåå¼åç¯å¢', |
| | | left: 'center', |
| | | padding: 15 |
| | | }, |
| | | tooltip: { |
| | | trigger: 'item' |
| | | }, |
| | | legend: { |
| | | top: 'bottom', |
| | | icon: 'circle', // è¿ä¸ªå段æ§å¶å½¢ç¶ ç±»åå
æ¬ circleï¼rect ï¼roundRectï¼triangleï¼diamondï¼pinï¼arrowï¼none |
| | | itemWidth: 10, // 设置宽度 |
| | | itemHeight: 10, // 设置é«åº¦ |
| | | itemGap: 7, // 设置é´è· |
| | | padding: [0, 0, 15, 0] //å¾ä¾è·ç¦» |
| | | }, |
| | | series: [ |
| | | { |
| | | name: 'æ¡æ¶', |
| | | type: 'pie', |
| | | radius: ['40%', '65%'], |
| | | avoidLabelOverlap: false, |
| | | itemStyle: { |
| | | borderRadius: 10, |
| | | borderColor: '#fff', |
| | | borderWidth: 2 |
| | | }, |
| | | label: { |
| | | show: false, |
| | | position: 'center' |
| | | }, |
| | | emphasis: { |
| | | label: { |
| | | show: true, |
| | | fontSize: '40', |
| | | fontWeight: 'bold' |
| | | } |
| | | ] |
| | | }, |
| | | labelLine: { |
| | | show: false |
| | | }, |
| | | data: [ |
| | | { value: 1048, name: '.NetCore' }, |
| | | { value: 735, name: 'Dapper' }, |
| | | |
| | | { value: 735, name: 'EntityFramework' }, |
| | | // { value: 735, name: 'JWT' }, |
| | | { value: 735, name: 'Redis' }, |
| | | { value: 735, name: 'Vue3.0' }, |
| | | { value: 580, name: 'Vuex' }, |
| | | { value: 484, name: 'Element plus' } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | | |
| | | var chart2 = { |
| | | title: { |
| | | text: 'è¿éæ¯é¦é¡µ' |
| | | }, |
| | | tooltip: { |
| | | trigger: 'axis', |
| | | axisPointer: { // åæ è½´æç¤ºå¨ï¼åæ è½´è§¦åææ |
| | | type: 'shadow' // é»è®¤ä¸ºç´çº¿ï¼å¯é为ï¼'line' | 'shadow' |
| | | title: { |
| | | text: 'è¿éæ¯é¦é¡µ' |
| | | }, |
| | | tooltip: { |
| | | trigger: 'axis', |
| | | axisPointer: { |
| | | // åæ è½´æç¤ºå¨ï¼åæ è½´è§¦åææ |
| | | type: 'shadow' // é»è®¤ä¸ºç´çº¿ï¼å¯é为ï¼'line' | 'shadow' |
| | | } |
| | | }, |
| | | legend: { |
| | | data: ['2.0ä¸è½½é', '3.0ä¸è½½é'], |
| | | padding: [0, 0, 15, 0] //å¾ä¾è·ç¦» |
| | | }, |
| | | grid: { |
| | | left: '3%', |
| | | right: '4%', |
| | | bottom: '3%', |
| | | top: '13%', |
| | | containLabel: true |
| | | }, |
| | | xAxis: [ |
| | | { |
| | | type: 'category', |
| | | data: ['2015', '2016', '2017', '2018', '2019', '2020', '2021'] |
| | | } |
| | | ], |
| | | yAxis: [ |
| | | { |
| | | type: 'value' |
| | | } |
| | | ], |
| | | series: [ |
| | | { |
| | | name: '2.0ä¸è½½é', |
| | | type: 'bar', |
| | | showBackground: true, |
| | | backgroundStyle: { |
| | | color: 'rgba(180, 180, 180, 0.2)' |
| | | }, |
| | | itemStyle: { |
| | | normal: { |
| | | barBorderRadius: [4, 4, 0, 0] |
| | | } |
| | | }, |
| | | data: [730, 620, 420, 932, 701, 834, 890] |
| | | }, |
| | | legend: { |
| | | data: ['2.0ä¸è½½é', '3.0ä¸è½½é'], |
| | | padding: [0, 0, 15, 0] //å¾ä¾è·ç¦» |
| | | }, |
| | | grid: { |
| | | left: '3%', |
| | | right: '4%', |
| | | bottom: '3%', |
| | | top:'13%', |
| | | containLabel: true |
| | | }, |
| | | xAxis: [ |
| | | { |
| | | type: 'category', |
| | | data: [ '2015', '2016', '2017', '2018', '2019', '2020', '2021'] |
| | | } |
| | | ], |
| | | yAxis: [ |
| | | { |
| | | type: 'value' |
| | | } |
| | | ], |
| | | series: [ |
| | | { |
| | | name: '2.0ä¸è½½é', |
| | | type: 'bar', |
| | | showBackground: true, |
| | | backgroundStyle: { |
| | | color: 'rgba(180, 180, 180, 0.2)' |
| | | }, |
| | | itemStyle: { |
| | | { |
| | | name: '3.0ä¸è½½é', |
| | | type: 'bar', |
| | | |
| | | normal: { |
| | | barBorderRadius: [4, 4, 0, 0] |
| | | } |
| | | }, |
| | | data: [ 730, 620, 420, 932, 701, 834, 890] |
| | | }, |
| | | { |
| | | name: '3.0ä¸è½½é', |
| | | type: 'bar', |
| | | |
| | | showBackground: true, |
| | | backgroundStyle: { |
| | | color: 'rgba(180, 180, 180, 0.2)' |
| | | }, |
| | | data: [230, 210, 120, 132, 101, 134, 90] |
| | | } |
| | | ] |
| | | showBackground: true, |
| | | backgroundStyle: { |
| | | color: 'rgba(180, 180, 180, 0.2)' |
| | | }, |
| | | data: [230, 210, 120, 132, 101, 134, 90] |
| | | } |
| | | ] |
| | | } |
| | | var chart3 = { |
| | | title: { |
| | | text: 'æ¡æ¶æ¯æåè½(Vue2.0ãVue3.0çæ¬)', |
| | | left: 'center' |
| | | }, |
| | | tooltip: { |
| | | trigger: 'item' |
| | | }, |
| | | legend: { |
| | | top: 'bottom', |
| | | icon: "circle", // è¿ä¸ªå段æ§å¶å½¢ç¶ ç±»åå
æ¬ circleï¼rect ï¼roundRectï¼triangleï¼diamondï¼pinï¼arrowï¼none |
| | | itemWidth: 10, // 设置宽度 |
| | | itemHeight: 10, // 设置é«åº¦ |
| | | itemGap: 7,// 设置é´è· |
| | | padding: [0, 0, 10, 0] //å¾ä¾è·ç¦» |
| | | }, |
| | | series: [ |
| | | { |
| | | |
| | | name: 'æ¡æ¶æ¯æåè½(Vue2.0ãVue3çæ¬)', |
| | | type: 'pie', |
| | | radius: '55%', |
| | | data: [ |
| | | { value: 748, name: 'å¤ç§æ·' }, |
| | | { value: 435, name: 'å¤è§è²' }, |
| | | { value: 580, name: '夿°æ®åº' }, |
| | | { value: 280, name: '主ä»ååº' }, |
| | | { value: 284, name: 'å½é
å' }, |
| | | { value: 300, name: 'App/H5å¼å' }, |
| | | { value: 200, name: 'Redis' }, |
| | | { value: 600, name: 'Sqlserver' }, |
| | | { value: 400, name: 'Mysql' }, |
| | | { value: 100, name: 'Oracle' }, |
| | | ], |
| | | emphasis: { |
| | | itemStyle: { |
| | | shadowBlur: 10, |
| | | shadowOffsetX: 0, |
| | | shadowColor: 'rgba(0, 0, 0, 0.5)' |
| | | } |
| | | } |
| | | title: { |
| | | text: 'æ¡æ¶æ¯æåè½(Vue2.0ãVue3.0çæ¬)', |
| | | left: 'center' |
| | | }, |
| | | tooltip: { |
| | | trigger: 'item' |
| | | }, |
| | | legend: { |
| | | top: 'bottom', |
| | | icon: 'circle', // è¿ä¸ªå段æ§å¶å½¢ç¶ ç±»åå
æ¬ circleï¼rect ï¼roundRectï¼triangleï¼diamondï¼pinï¼arrowï¼none |
| | | itemWidth: 10, // 设置宽度 |
| | | itemHeight: 10, // 设置é«åº¦ |
| | | itemGap: 7, // 设置é´è· |
| | | padding: [0, 0, 10, 0] //å¾ä¾è·ç¦» |
| | | }, |
| | | series: [ |
| | | { |
| | | name: 'æ¡æ¶æ¯æåè½(Vue2.0ãVue3çæ¬)', |
| | | type: 'pie', |
| | | radius: '55%', |
| | | data: [ |
| | | { value: 748, name: 'å¤ç§æ·' }, |
| | | { value: 435, name: 'å¤è§è²' }, |
| | | { value: 580, name: '夿°æ®åº' }, |
| | | { value: 280, name: '主ä»ååº' }, |
| | | { value: 284, name: 'å½é
å' }, |
| | | { value: 300, name: 'App/H5å¼å' }, |
| | | { value: 200, name: 'Redis' }, |
| | | { value: 600, name: 'Sqlserver' }, |
| | | { value: 400, name: 'Mysql' }, |
| | | { value: 100, name: 'Oracle' } |
| | | ], |
| | | emphasis: { |
| | | itemStyle: { |
| | | shadowBlur: 10, |
| | | shadowOffsetX: 0, |
| | | shadowColor: 'rgba(0, 0, 0, 0.5)' |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | var chart4={ |
| | | tooltip: { |
| | | trigger: 'axis', |
| | | axisPointer: { |
| | | // Use axis to trigger tooltip |
| | | type: 'shadow' // 'shadow' as default; can also be 'line' or 'shadow' |
| | | } |
| | | }, |
| | | legend: {}, |
| | | grid: { |
| | | left: '3%', |
| | | right: '4%', |
| | | bottom: '3%', |
| | | top:'13%', |
| | | containLabel: true |
| | | }, |
| | | xAxis: { |
| | | type: 'value' |
| | | }, |
| | | yAxis: { |
| | | type: 'category', |
| | | data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] |
| | | }, |
| | | series: [ |
| | | { |
| | | name: 'Direct', |
| | | type: 'bar', |
| | | stack: 'total', |
| | | label: { |
| | | show: true |
| | | }, |
| | | emphasis: { |
| | | focus: 'series' |
| | | }, |
| | | data: [320, 302, 301, 334, 390, 330, 320] |
| | | var chart4 = { |
| | | tooltip: { |
| | | trigger: 'axis', |
| | | axisPointer: { |
| | | // Use axis to trigger tooltip |
| | | type: 'shadow' // 'shadow' as default; can also be 'line' or 'shadow' |
| | | } |
| | | }, |
| | | legend: {}, |
| | | grid: { |
| | | left: '3%', |
| | | right: '4%', |
| | | bottom: '3%', |
| | | top: '13%', |
| | | containLabel: true |
| | | }, |
| | | xAxis: { |
| | | type: 'value' |
| | | }, |
| | | yAxis: { |
| | | type: 'category', |
| | | data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] |
| | | }, |
| | | series: [ |
| | | { |
| | | name: 'Direct', |
| | | type: 'bar', |
| | | stack: 'total', |
| | | label: { |
| | | show: true |
| | | }, |
| | | { |
| | | name: 'Mail Ad', |
| | | type: 'bar', |
| | | stack: 'total', |
| | | label: { |
| | | show: true |
| | | }, |
| | | emphasis: { |
| | | focus: 'series' |
| | | }, |
| | | data: [120, 132, 101, 134, 90, 230, 210] |
| | | emphasis: { |
| | | focus: 'series' |
| | | }, |
| | | { |
| | | name: 'Affiliate Ad', |
| | | type: 'bar', |
| | | stack: 'total', |
| | | label: { |
| | | show: true |
| | | }, |
| | | emphasis: { |
| | | focus: 'series' |
| | | }, |
| | | data: [220, 182, 191, 234, 290, 330, 310] |
| | | data: [320, 302, 301, 334, 390, 330, 320] |
| | | }, |
| | | { |
| | | name: 'Mail Ad', |
| | | type: 'bar', |
| | | stack: 'total', |
| | | label: { |
| | | show: true |
| | | }, |
| | | { |
| | | name: 'Video Ad', |
| | | type: 'bar', |
| | | stack: 'total', |
| | | label: { |
| | | show: true |
| | | }, |
| | | emphasis: { |
| | | focus: 'series' |
| | | }, |
| | | data: [150, 212, 201, 154, 190, 330, 410] |
| | | emphasis: { |
| | | focus: 'series' |
| | | }, |
| | | { |
| | | name: 'Search Engine', |
| | | type: 'bar', |
| | | stack: 'total', |
| | | label: { |
| | | show: true |
| | | }, |
| | | emphasis: { |
| | | focus: 'series' |
| | | }, |
| | | data: [820, 832, 901, 934, 1290, 1330, 1320] |
| | | } |
| | | ] |
| | | } |
| | | export { chart1, chart2, chart3,chart4 } |
| | | data: [120, 132, 101, 134, 90, 230, 210] |
| | | }, |
| | | { |
| | | name: 'Affiliate Ad', |
| | | type: 'bar', |
| | | stack: 'total', |
| | | label: { |
| | | show: true |
| | | }, |
| | | emphasis: { |
| | | focus: 'series' |
| | | }, |
| | | data: [220, 182, 191, 234, 290, 330, 310] |
| | | }, |
| | | { |
| | | name: 'Video Ad', |
| | | type: 'bar', |
| | | stack: 'total', |
| | | label: { |
| | | show: true |
| | | }, |
| | | emphasis: { |
| | | focus: 'series' |
| | | }, |
| | | data: [150, 212, 201, 154, 190, 330, 410] |
| | | }, |
| | | { |
| | | name: 'Search Engine', |
| | | type: 'bar', |
| | | stack: 'total', |
| | | label: { |
| | | show: true |
| | | }, |
| | | emphasis: { |
| | | focus: 'series' |
| | | }, |
| | | data: [820, 832, 901, 934, 1290, 1330, 1320] |
| | | } |
| | | ] |
| | | } |
| | | export { chart1, chart2, chart3, chart4 } |
| | |
| | | *ä¸å¡è¯·å¨@/extension/widesea_wms/basicinfo/Dt_AreaInfo.jsæ¤å¤ç¼å |
| | | --> |
| | | <template> |
| | | <view-grid ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend"> |
| | | <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" |
| | | :table="table" :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/widesea_wms/basicinfo/Dt_AreaInfo.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'areaID', |
| | | footer: "Foots", |
| | | cnName: 'åºåä¿¡æ¯', |
| | | name: 'basicinfo/Dt_AreaInfo', |
| | | url: "/Dt_AreaInfo/", |
| | | sortName: "AreaCode" |
| | | }); |
| | | const editFormFields = ref({ |
| | | "areaCode":"", |
| | | "areaName":"", |
| | | "areaType":"", |
| | | "areaStatus":"", |
| | | "areaDesc":"" |
| | | }); |
| | | const editFormOptions = ref([ |
| | | import extend from "@/extension/widesea_wms/basicinfo/Dt_AreaInfo.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'areaID', |
| | | footer: "Foots", |
| | | cnName: 'åºåä¿¡æ¯', |
| | | name: 'basicinfo/Dt_AreaInfo', |
| | | url: "/Dt_AreaInfo/", |
| | | sortName: "AreaCode" |
| | | }); |
| | | const editFormFields = ref({ |
| | | "areaCode": "", |
| | | "areaName": "", |
| | | "areaType": "", |
| | | "areaStatus": "", |
| | | "areaDesc": "" |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { "title": "åºåç¼ç ", "field": "areaCode", type: "text" }, |
| | | { "title": "åºååç§°", "field": "areaName", type: "text" }, |
| | |
| | | ], |
| | | [ |
| | | { "title": "åºåç±»å", "field": "areaType", type: "text" }, |
| | | { "title": "åºåç¶æ", "field": "areaStatus", type: "text" }, |
| | | { "title": "åºåç¶æ", "field": "areaStatus", type: "text" }, |
| | | ] |
| | | ]); |
| | | const searchFormFields = ref({}); |
| | | const searchFormOptions = ref([ |
| | | ]); |
| | | const searchFormFields = ref({}); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { "title": "åºåç¼ç ", "field": "areaCode", type: "text" }, |
| | | { "title": "åºååç§°", "field": "areaName", type: "text" }, |
| | |
| | | ], |
| | | [ |
| | | { "title": "åºåç±»å", "field": "areaType", type: "text" }, |
| | | { "title": "åºåç¶æ", "field": "areaStatus", type: "text" }, |
| | | { "title": "åºåç¶æ", "field": "areaStatus", type: "text" }, |
| | | ] |
| | | ]); |
| | | const columns = ref([{field:'areaID',title:'åºåID',type:'int',sort:true,hidden:true,width:110,readonly:true,require:true,align:'left'}, |
| | | {field:'areaCode',title:'åºåç¼å·',type:'string',sort:true,width:110,require:true,align:'left',sort:true}, |
| | | {field:'areaName',title:'åºååç§°',type:'string',sort:true,width:110,align:'left'}, |
| | | {field:'areaType',title:'åºåç±»å',type:'string',sort:true,width:110,align:'left'}, |
| | | {field:'areaStatus',title:'åºåç¶æ',type:'int',sort:true,width:110,align:'left'}, |
| | | {field:'areaDesc',title:'åºåæè¿°',type:'string',sort:true,width:110,align:'left'}, |
| | | {field:'createID',title:'å建ID',type:'int',sort:true,width:100,hidden:true,align:'left'}, |
| | | {field:'creater',title:'å建人',type:'string',sort:true,width:110,align:'left'}, |
| | | {field:'createDate',title:'å建æ¶é´',type:'datetime',sort:true,width:150,align:'left',sort:true}, |
| | | {field:'modifyID',title:'ä¿®æ¹äººID',type:'int',sort:true,width:100,hidden:true,align:'left'}, |
| | | {field:'modifier',title:'ä¿®æ¹äºº',type:'string',sort:true,width:100,hidden:true,align:'left'}, |
| | | {field:'modifyDate',title:'ä¿®æ¹æ¶é´',type:'datetime',sort:true,width:150,hidden:true,align:'left',sort:true}, |
| | | {field:'spare1',title:'Spare1',type:'string',sort:true,width:110,hidden:true,align:'left'}, |
| | | {field:'spare2',title:'Spare2',type:'string',sort:true,width:110,hidden:true,align:'left'}, |
| | | {field:'spare3',title:'Spare3',type:'string',sort:true,width:110,hidden:true,align:'left'}, |
| | | {field:'spare4',title:'Spare4',type:'string',sort:true,width:110,hidden:true,align:'left'}, |
| | | {field:'spare5',title:'Spare5',type:'string',sort:true,width:110,hidden:true,align:'left'}]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | ]); |
| | | const columns = ref([{ field: 'areaID', title: 'åºåID', type: 'int', sort: true, hidden: true, width: 110, readonly: true, require: true, align: 'left' }, |
| | | { field: 'areaCode', title: 'åºåç¼å·', type: 'string', sort: true, width: 110, require: true, align: 'left', sort: true }, |
| | | { field: 'areaName', title: 'åºååç§°', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'areaType', title: 'åºåç±»å', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'areaStatus', title: 'åºåç¶æ', type: 'int', sort: true, width: 110, align: 'left', bind: { key: "status", data: [] } }, |
| | | { field: 'areaDesc', title: 'åºåæè¿°', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'createID', title: 'å建ID', type: 'int', sort: true, width: 100, hidden: true, align: 'left' }, |
| | | { field: 'creater', title: 'å建人', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'createDate', title: 'å建æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | { field: 'modifyID', title: 'ä¿®æ¹äººID', type: 'int', sort: true, width: 100, hidden: true, align: 'left' }, |
| | | { field: 'modifier', title: 'ä¿®æ¹äºº', type: 'string', sort: true, width: 100, hidden: true, align: 'left' }, |
| | | { field: 'modifyDate', title: 'ä¿®æ¹æ¶é´', type: 'datetime', sort: true, width: 150, hidden: true, align: 'left', sort: true }, |
| | | { field: 'spare1', title: 'Spare1', type: 'string', sort: true, width: 110, hidden: true, align: 'left' }, |
| | | { field: 'spare2', title: 'Spare2', type: 'string', sort: true, width: 110, hidden: true, align: 'left' }, |
| | | { field: 'spare3', title: 'Spare3', type: 'string', sort: true, width: 110, hidden: true, align: 'left' }, |
| | | { field: 'spare4', title: 'Spare4', type: 'string', sort: true, width: 110, hidden: true, align: 'left' }, |
| | | { field: 'spare5', title: 'Spare5', type: 'string', sort: true, width: 110, hidden: true, align: 'left' }]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |
| | |
| | | *ä¸å¡è¯·å¨@/extension/widesea_wms/basicinfo/Dt_WareAreaInfo.jsæ¤å¤ç¼å |
| | | --> |
| | | <template> |
| | | <view-grid ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend"> |
| | | <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" |
| | | :table="table" :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/widesea_wms/basicinfo/Dt_WareAreaInfo.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'wareAreaID', |
| | | footer: "Foots", |
| | | cnName: 'åºåºä¿¡æ¯', |
| | | name: 'basicinfo/Dt_WareAreaInfo', |
| | | url: "/Dt_WareAreaInfo/", |
| | | sortName: "WareAreaID" |
| | | }); |
| | | const editFormFields = ref({ |
| | | "wareAreaName":"", |
| | | "areaID":"", |
| | | "wareAreaType":"", |
| | | "wareAreaCode":"" |
| | | }); |
| | | const editFormOptions = ref([ |
| | | import extend from "@/extension/widesea_wms/basicinfo/Dt_WareAreaInfo.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'wareAreaID', |
| | | footer: "Foots", |
| | | cnName: 'åºåºä¿¡æ¯', |
| | | name: 'basicinfo/Dt_WareAreaInfo', |
| | | url: "/Dt_WareAreaInfo/", |
| | | sortName: "WareAreaID" |
| | | }); |
| | | const editFormFields = ref({ |
| | | "wareAreaName": "", |
| | | "areaID": "", |
| | | "wareAreaType": "", |
| | | "wareAreaCode": "" |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { "title": "åºåºåç§°", "field": "wareAreaName", type: "text" }, |
| | | { "title": "åºåºä»£ç ", "field": "wareAreaCode", type: "text" }, |
| | | { "title": "åºåºç¼å·", "field": "wareAreaCode", type: "text" }, |
| | | { "title": "åºåºç±»å", "field": "wareAreaType", type: "text" }, |
| | | ] |
| | | ]); |
| | | const searchFormFields = ref({}); |
| | | const searchFormOptions = ref([ |
| | | ]); |
| | | const searchFormFields = ref({}); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { "title": "åºåºåç§°", "field": "wareAreaName", type: "text" }, |
| | | { "title": "åºåºä»£ç ", "field": "wareAreaCode", type: "text" }, |
| | | { "title": "åºåºç¼å·", "field": "wareAreaCode", type: "text" }, |
| | | { "title": "åºåºç±»å", "field": "wareAreaType", type: "text" }, |
| | | ] |
| | | ]); |
| | | const columns = ref([{field:'wareAreaID',title:'主é®',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'}, |
| | | {field:'areaID',title:'åºåºID',type:'int',width:110,hidden:true,align:'left',sort:true,hidden:true}, |
| | | {field:'wareAreaCode',title:'åºåºç¼å·',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'wareAreaName',title:'åºåºåç§°',type:'string',width:110,align:'left'}, |
| | | {field:'wareAreaType',title:'åºåºç±»å',type:'string',width:110,align:'left'}, |
| | | {field:'status',title:'åºåºç¶æ',type:'int',width:110,align:'left'}, |
| | | {field:'wareAreaDesc',title:'åºåºæè¿°',type:'string',width:110,align:'left'}, |
| | | {field:'createID',title:'å建ID',type:'int',sort:true,width:100,hidden:true,align:'left'}, |
| | | {field:'creater',title:'å建人',type:'string',sort:true,width:110,align:'left'}, |
| | | {field:'createDate',title:'å建æ¶é´',type:'datetime',sort:true,width:150,align:'left',sort:true}, |
| | | {field:'modifyID',title:'ä¿®æ¹äººID',type:'int',sort:true,width:100,hidden:true,align:'left'}, |
| | | {field:'modifier',title:'ä¿®æ¹äºº',type:'string',sort:true,width:100,hidden:true,align:'left'}, |
| | | {field:'modifyDate',title:'ä¿®æ¹æ¶é´',type:'datetime',sort:true,width:150,hidden:true,align:'left',sort:true}, |
| | | {field:'spare1',title:'Spare1',type:'string',sort:true,width:110,hidden:true,align:'left'}, |
| | | {field:'spare2',title:'Spare2',type:'string',sort:true,width:110,hidden:true,align:'left'}, |
| | | {field:'spare3',title:'Spare3',type:'string',sort:true,width:110,hidden:true,align:'left'}, |
| | | {field:'spare4',title:'Spare4',type:'string',sort:true,width:110,hidden:true,align:'left'}, |
| | | {field:'spare5',title:'Spare5',type:'string',sort:true,width:110,hidden:true,align:'left'}]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | ]); |
| | | const columns = ref([{ field: 'wareAreaID', title: '主é®', type: 'int', width: 110, hidden: true, readonly: true, require: true, align: 'left' }, |
| | | { field: 'areaID', title: 'åºåºID', type: 'int', width: 110, hidden: true, align: 'left', sort: true, hidden: true }, |
| | | { field: 'wareAreaCode', title: 'åºåºç¼å·', type: 'string', width: 110, require: true, align: 'left' }, |
| | | { field: 'wareAreaName', title: 'åºåºåç§°', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'wareAreaType', title: 'åºåºç±»å', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'status', title: 'åºåºç¶æ', type: 'int', width: 110, align: 'left', bind: { key: "status", data: [] } }, |
| | | { field: 'wareAreaDesc', title: 'åºåºæè¿°', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'createID', title: 'å建ID', type: 'int', sort: true, width: 100, hidden: true, align: 'left' }, |
| | | { field: 'creater', title: 'å建人', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'createDate', title: 'å建æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | { field: 'modifyID', title: 'ä¿®æ¹äººID', type: 'int', sort: true, width: 100, hidden: true, align: 'left' }, |
| | | { field: 'modifier', title: 'ä¿®æ¹äºº', type: 'string', sort: true, width: 100, hidden: true, align: 'left' }, |
| | | { field: 'modifyDate', title: 'ä¿®æ¹æ¶é´', type: 'datetime', sort: true, width: 150, hidden: true, align: 'left', sort: true }, |
| | | { field: 'spare1', title: 'Spare1', type: 'string', sort: true, width: 110, hidden: true, align: 'left' }, |
| | | { field: 'spare2', title: 'Spare2', type: 'string', sort: true, width: 110, hidden: true, align: 'left' }, |
| | | { field: 'spare3', title: 'Spare3', type: 'string', sort: true, width: 110, hidden: true, align: 'left' }, |
| | | { field: 'spare4', title: 'Spare4', type: 'string', sort: true, width: 110, hidden: true, align: 'left' }, |
| | | { field: 'spare5', title: 'Spare5', type: 'string', sort: true, width: 110, hidden: true, align: 'left' }]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |
| | |
| | | ], |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | taskType: 200, |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { "title": "ä»»å¡å·", "field": "taskNum", "type": "text" }, |
| | | { "title": "æçå·", "field": "palletCode", "type": "text" }, |
| | | { "title": "ä»»å¡ç±»å", "field": "taskType", "type": "select", dataKey: "TaskType", data: [] }, |
| | | { "title": "ä»»å¡ç±»å", "field": "taskType", "type": "select", dataKey: "TaskType", data: [], hidden: true }, |
| | | { "title": "ä»»å¡ç¶æ", "field": "taskState", "type": "select", dataKey: "TaskStatus", data: [] }, |
| | | |
| | | ], |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!-- |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ä¸å¡è¯·å¨@/extension/widesea_wms/taskinfo/Dt_Task.jsæ¤å¤ç¼å |
| | | --> |
| | | <template> |
| | | <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" |
| | | :table="table" :extend="extend" /> |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/widesea_wms/taskinfo/Dt_Task.jsx"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'taskId', |
| | | footer: "Foots", |
| | | cnName: 'ä»»å¡ä¿¡æ¯', |
| | | name: 'taskinfo/Dt_Task', |
| | | url: "/Task/", |
| | | sortName: "TaskId" |
| | | }); |
| | | const editFormFields = ref({ |
| | | "taskNum": "", |
| | | "palletCode": "" |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { "title": "ä»»å¡å·", "field": "taskNum", "type": "text" }, |
| | | { "title": "æçå·", "field": "palletCode", "type": "text" }, |
| | | { "title": "ä»»å¡ç±»å", "field": "taskType", "type": "select", dataKey: "TaskType", data: []}, |
| | | { "title": "ä»»å¡ç¶æ", "field": "taskState", "type": "select", dataKey: "TaskStatus", data: [] }, |
| | | |
| | | ], |
| | | [ |
| | | { "title": "èµ·å§ä½ç½®", "field": "sourceAddress", type: "text" }, |
| | | { "title": "å½åä½ç½®", "field": "currentAddress", type: "text" }, |
| | | { "title": "ä¸ä¸ä½ç½®", "field": "nextAddress", type: "text" }, |
| | | { "title": "ç®æ ä½ç½®", "field": "targetAddress", type: "text" }, |
| | | ], |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | taskType: 100, |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { "title": "ä»»å¡å·", "field": "taskNum", "type": "text" }, |
| | | { "title": "æçå·", "field": "palletCode", "type": "text" }, |
| | | { "title": "ä»»å¡ç±»å", "field": "taskType", "type": "select", dataKey: "TaskType", data: [], hidden: true }, |
| | | { "title": "ä»»å¡ç¶æ", "field": "taskState", "type": "select", dataKey: "TaskStatus", data: [] }, |
| | | |
| | | ], |
| | | [ |
| | | { "title": "èµ·å§ä½ç½®", "field": "sourceAddress", type: "text" }, |
| | | { "title": "å½åä½ç½®", "field": "currentAddress", type: "text" }, |
| | | { "title": "ä¸ä¸ä½ç½®", "field": "nextAddress", type: "text" }, |
| | | { "title": "ç®æ ä½ç½®", "field": "targetAddress", type: "text" }, |
| | | ], |
| | | ]); |
| | | const columns = ref([{ field: 'TaskId', title: '主é®', type: 'string', width: 110, hidden: true, readonly: true, require: true, align: 'left' }, |
| | | { field: 'taskNum', title: 'ä»»å¡å·', type: 'int', width: 110, align: 'left', sort: true }, |
| | | { field: 'palletCode', title: 'æçå·', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'pnboundNo', title: 'åæ®å·', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'groupID', title: 'åºåID', type: 'int', width: 110, hidden: true, align: 'left' }, |
| | | { field: 'groupDetailId', title: 'ç»çæç»ID', type: 'int', width: 110, hidden: true, align: 'left' }, |
| | | { field: 'roadway', title: 'å··é', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'taskType', title: 'ä»»å¡ç±»å', type: 'int', width: 110, align: 'left', bind: { key: "TaskType", data: [] } }, |
| | | { field: 'taskState', title: 'ä»»å¡ç¶æ', type: 'int', width: 110, align: 'left', bind: { key: "TaskStatus", data: [] } }, |
| | | { field: 'sourceAddress', title: 'èµ·å§ä½ç½®', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'currentAddress', title: 'å½åä½ç½®', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'nextAddress', title: 'ä¸ä¸ä½ç½®', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'targetAddress', title: 'ç®æ ä½ç½®', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'grade', title: 'ä¼å
级', type: 'int', width: 110, align: 'left' }, |
| | | { field: 'dispatchertime', title: 'ä»»å¡ä¸åæ¶é´', type: 'datetime', width: 150, align: 'left', sort: true }, |
| | | { field: 'remark', title: '夿³¨', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'creater', title: 'å建人', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'createDate', title: 'å建æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | { field: 'modifier', title: 'ä¿®æ¹äºº', type: 'string', sort: true, width: 100, align: 'left' }, |
| | | { field: 'modifyDate', title: 'ä¿®æ¹æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | { field: 'locationCode', title: 'è´§ä½å·', type: 'string', width: 110, hidden: true, align: 'left' }, |
| | | { field: 'materialNo', title: 'ç©æç¼å·', type: 'string', width: 110, hidden: true, align: 'left' }, |
| | | { field: 'targetAddress', title: 'ç®æ å°å', type: 'string', width: 110, hidden: true, align: 'left' }, |
| | | { field: 'createID', title: 'å建ID', type: 'int', sort: true, width: 100, hidden: true, align: 'left' }, |
| | | { field: 'modifyID', title: 'ä¿®æ¹äººID', type: 'int', sort: true, width: 100, hidden: true, align: 'left' },]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |