diff --git a/.env.dev b/.env.dev
index ec8ac65b..67bd8cab 100644
--- a/.env.dev
+++ b/.env.dev
@@ -25,7 +25,7 @@ VUE_APP_BASE_API = 'http://192.168.0.33:48082'
# VUE_APP_BASE_API = 'http://192.168.1.78:48082'
# VUE_APP_BASE_API = 'http://192.168.1.47:48082'
# socket地址
-VUE_APP_Socket_API = 'ws://192.168.0.33:48082'
+VUE_APP_Socket_API = 'ws://10.70.2.2:8080'
VUE_APP_Socket_Dcs_API = 'ws://10.70.180.10:8081'
# 积木报表指向地址
diff --git a/src/router/index.js b/src/router/index.js
index 40189532..1ec211f5 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -75,42 +75,19 @@ export const constantRoutes = [
hidden: true,
meta: { requireToken: true }
},
- // {
- // path: '/',
- // component: Layout,
- // // redirect: 'core/base/factory',
- // // children: [{
- // // path: 'index',
- // // redirect: 'core/base/factory',
- // // component: (resolve) => require(['@/views/index'], resolve),
- // // name: '首页',
- // // meta: { title: '首页', icon: 'dashboard', affix: true }
- // // }
- // // ]
- // },
{
path: '/AGVBoard',
name: 'AGVBoard',
- // component: Layout,
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "about" */ '@/views/OperationalOverview/AGVBoard.vue')
},
- {
+ {
path: '/coldBoard',
name: 'coldBoard',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "about" */ '@/views/OperationalOverview/coldBoard.vue')
},
- {
+ {
path: '/processingBoard',
name: 'processingBoard',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "about" */ '@/views/OperationalOverview/processingBoard.vue')
},
{
@@ -141,138 +118,6 @@ export const constantRoutes = [
meta: { title: '字典数据', icon: '', activeMenu: '/system/dict' }
}
]
- },
- {
- path: '/job',
- component: Layout,
- hidden: true,
- children: [{
- path: 'log',
- component: (resolve) => require(['@/views/infra/job/log'], resolve),
- name: 'InfraJobLog',
- meta: { title: '调度日志', activeMenu: '/infra/job' }
- }
- ]
- }, {
- path: '/codegen',
- component: Layout,
- hidden: true,
- children: [{
- path: 'edit/:tableId(\\d+)',
- component: (resolve) => require(['@/views/infra/codegen/editTable'], resolve),
- name: 'InfraCodegenEditTable',
- meta: { title: '修改生成配置', activeMenu: '/infra/codegen' }
- }
- ]
- },
- {
- path: '/bpm',
- component: Layout,
- hidden: true,
- redirect: 'noredirect',
- children: [{
- path: 'oa/leave/create',
- component: (resolve) => require(['@/views/bpm/oa/leave/create'], resolve),
- name: 'BpmOALeaveCreate',
- meta: { title: '发起 OA 请假', icon: 'form', activeMenu: '/bpm/oa/leave' }
- }, {
- path: 'oa/leave/detail',
- component: (resolve) => require(['@/views/bpm/oa/leave/detail'], resolve),
- name: 'BpmOALeaveDetail',
- meta: { title: '查看 OA 请假', icon: 'view', activeMenu: '/bpm/oa/leave' }
- }
- ]
- },
- {
- path: '/bpm',
- component: Layout,
- hidden: true,
- children: [{
- path: 'manager/form/edit',
- component: (resolve) => require(['@/views/bpm/form/formEditor'], resolve),
- name: 'BpmFormEditor',
- meta: { title: '流程表单-编辑', activeMenu: '/bpm/manager/form' }
- }, {
- path: 'manager/definition',
- component: (resolve) => require(['@/views/bpm/definition/index'], resolve),
- name: 'BpmProcessDefinition',
- meta: { title: '流程定义', activeMenu: '/bpm/manager/model' }
- }, {
- path: 'manager/model/design',
- component: (resolve) => require(['@/views/bpm/model/modelEditor'], resolve),
- name: 'BpmModelEditor',
- meta: { title: '设计流程', activeMenu: '/bpm/manager/model' }
- }, {
- path: 'process-instance/create',
- component: (resolve) => require(['@/views/bpm/processInstance/create'], resolve),
- name: 'BpmProcessInstanceCreate',
- meta: { title: '发起流程', activeMenu: '/bpm/task/my' }
- }, {
- path: 'process-instance/detail',
- component: (resolve) => require(['@/views/bpm/processInstance/detail'], resolve),
- name: 'BpmProcessInstanceDetail',
- meta: { title: '流程详情', activeMenu: '/bpm/task/my' }
- }
- ]
- },
- {
- path: '/property',
- component: Layout,
- hidden: true,
- children: [{
- path: 'value/:propertyId(\\d+)',
- component: (resolve) => require(['@/views/mall/product/property/value'], resolve),
- name: 'ProductPropertyValue',
- meta: { title: '商品属性值', icon: '', activeMenu: '/product/property' }
- }
- ]
- },
- {
- path: '/spu',
- component: Layout,
- hidden: true,
- children: [{
- path: 'edit/:spuId(\\d+)',
- component: (resolve) => require(['@/views/mall/product/spu/save'], resolve),
- name: 'ProductSpuUpdate',
- meta: { title: '修改商品', activeMenu: '/product/spu' }
- },
- {
- path: 'add',
- component: (resolve) => require(['@/views/mall/product/spu/save'], resolve),
- name: 'ProductSpuCreate',
- meta: { title: '添加商品', activeMenu: '/product/spu' }
- }
- ]
- },
- {
- path: '/trade/order',
- component: Layout,
- hidden: true,
- children: [
- {
- path: 'detail',
- name: 'TradeOrderDetail',
- hidden: true,
- meta: { title: '订单详情' },
- component: (resolve) => require(['@/views/mall/trade/order/detail'], resolve)
- }
- ]
- },
- {
- path: '/pay',
- component: Layout,
- hidden: true,
- children: [{
- path: 'order/submit',
- name: 'PayOrderSubmit',
- hidden: true,
- meta: {
- title: '收银台',
- noCache: true
- },
- component: (resolve) => require(['@/views/pay/order/submit'], resolve)
- }]
}
]
diff --git a/src/views/bpm/definition/index.vue b/src/views/bpm/definition/index.vue
deleted file mode 100644
index dc992545..00000000
--- a/src/views/bpm/definition/index.vue
+++ /dev/null
@@ -1,174 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.name }}
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.formName }}
-
-
- {{ scope.row.formCustomCreatePath }}
-
-
-
-
-
-
- v{{ scope.row.version }}
- 未部署
-
-
-
-
- 激活
- 挂起
-
-
-
-
- {{ parseTime(scope.row.deploymentTime) }}
-
-
-
-
-
- 分配规则
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/bpm/form/formEditor.vue b/src/views/bpm/form/formEditor.vue
deleted file mode 100644
index c387ca3d..00000000
--- a/src/views/bpm/form/formEditor.vue
+++ /dev/null
@@ -1,567 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}
-
-
-
-
-
- {{ element.__config__.label }}
-
-
-
-
-
-
-
-
-
-
-
-
- {{dict.label}}
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
- 查看json
-
-
-
-
-
-
-
-
- 清空
-
-
-
-
-
-
-
-
-
-
-
- 从左侧拖入或点选组件进行表单设计
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/bpm/form/index.vue b/src/views/bpm/form/index.vue
deleted file mode 100644
index f9bcb726..00000000
--- a/src/views/bpm/form/index.vue
+++ /dev/null
@@ -1,161 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 详情
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/bpm/group/index.vue b/src/views/bpm/group/index.vue
deleted file mode 100644
index 6c23a947..00000000
--- a/src/views/bpm/group/index.vue
+++ /dev/null
@@ -1,246 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
- {{ getUserNickname(userId) }}
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{dict.label}}
-
-
-
-
-
-
-
-
-
diff --git a/src/views/bpm/model/index.vue b/src/views/bpm/model/index.vue
deleted file mode 100644
index e80b9642..00000000
--- a/src/views/bpm/model/index.vue
+++ /dev/null
@@ -1,548 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新建流程
-
-
- 导入流程
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.name }}
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.formName }}
-
-
- {{ scope.row.formCustomCreatePath }}
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
- v{{ scope.row.processDefinition.version }}
- 未部署
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.processDefinition.deploymentTime) }}
-
-
-
-
-
- 修改流程
- 设计流程
- 分配规则
- 发布流程
- 流程定义
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{dict.label}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 将文件拖到此处,或
- 点击上传
-
- 提示:仅允许导入“bpm”或“xml”格式文件!
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/bpm/model/modelEditor.vue b/src/views/bpm/model/modelEditor.vue
deleted file mode 100644
index 78e78d31..00000000
--- a/src/views/bpm/model/modelEditor.vue
+++ /dev/null
@@ -1,170 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/bpm/oa/leave/create.vue b/src/views/bpm/oa/leave/create.vue
deleted file mode 100644
index 3ac54173..00000000
--- a/src/views/bpm/oa/leave/create.vue
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 提 交
-
-
-
-
-
-
diff --git a/src/views/bpm/oa/leave/detail.vue b/src/views/bpm/oa/leave/detail.vue
deleted file mode 100644
index 00890a5c..00000000
--- a/src/views/bpm/oa/leave/detail.vue
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
- {{parseTime(form.startTime, '{y}-{m}-{d}')}}
- {{parseTime(form.endTime, '{y}-{m}-{d}')}}
-
-
-
- {{ form.reason }}
-
-
-
-
-
diff --git a/src/views/bpm/oa/leave/index.vue b/src/views/bpm/oa/leave/index.vue
deleted file mode 100644
index 49d5d21f..00000000
--- a/src/views/bpm/oa/leave/index.vue
+++ /dev/null
@@ -1,173 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 发起请假
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.startTime) }}
-
-
-
-
- {{ parseTime(scope.row.endTime) }}
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 取消请假
- 详情
- 审批进度
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/bpm/processInstance/create.vue b/src/views/bpm/processInstance/create.vue
deleted file mode 100644
index bf565f63..00000000
--- a/src/views/bpm/processInstance/create.vue
+++ /dev/null
@@ -1,168 +0,0 @@
-
-
-
-
-
-
-
-
- {{ scope.row.name }}
-
-
-
-
-
-
-
-
-
-
- v{{ scope.row.version }}
-
-
-
-
-
- 选择
-
-
-
-
-
-
-
-
- 申请信息【{{ selectProcessInstance.name }}】
- 选择其它流程
-
-
-
-
-
-
-
- 流程图
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/bpm/processInstance/detail.vue b/src/views/bpm/processInstance/detail.vue
deleted file mode 100644
index b8a843a1..00000000
--- a/src/views/bpm/processInstance/detail.vue
+++ /dev/null
@@ -1,400 +0,0 @@
-
-
-
-
-
- 审批任务【{{ item.name }}】
-
-
-
-
- {{ processInstance.name }}
-
-
- {{ processInstance.startUser.nickname }}
- {{ processInstance.startUser.deptName }}
-
-
-
-
-
-
- 通过
- 不通过
- 转办
- 委派
- 退回
-
-
-
-
-
-
- 申请信息【{{ processInstance.name }}】
-
-
-
-
-
-
-
-
-
-
- 审批记录
-
-
-
-
-
- 任务:{{ item.name }}
-
-
-
-
-
-
-
-
-
- {{ item.reason }}
-
-
-
-
-
-
-
-
-
-
-
- 流程图
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/bpm/processInstance/index.vue b/src/views/bpm/processInstance/index.vue
deleted file mode 100644
index 4e681ac2..00000000
--- a/src/views/bpm/processInstance/index.vue
+++ /dev/null
@@ -1,182 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 发起流程
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ task.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- {{ parseTime(scope.row.endTime) }}
-
-
-
-
- 取消
- 详情
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/bpm/task/done/index.vue b/src/views/bpm/task/done/index.vue
deleted file mode 100644
index 9d522bec..00000000
--- a/src/views/bpm/task/done/index.vue
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- {{ parseTime(scope.row.endTime) }}
-
-
-
-
- {{ getDateStar(scope.row.durationInMillis) }}
-
-
-
-
- 详情
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/bpm/task/todo/index.vue b/src/views/bpm/task/todo/index.vue
deleted file mode 100644
index a14dc564..00000000
--- a/src/views/bpm/task/todo/index.vue
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 激活
- 挂起
-
-
-
-
- 审批
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue b/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue
deleted file mode 100644
index c0d922be..00000000
--- a/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue
+++ /dev/null
@@ -1,337 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ getAssignRuleOptionName(scope.row.type, option) }}
-
-
-
-
-
- 修改
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/energy/base/energyPlc/index.vue b/src/views/energy/base/energyPlc/index.vue
index 84629de4..858fdc8a 100644
--- a/src/views/energy/base/energyPlc/index.vue
+++ b/src/views/energy/base/energyPlc/index.vue
@@ -2,42 +2,18 @@
@@ -50,7 +26,8 @@ import EnergyPlcAdd from './components/energyPlcAdd.vue'
const tableProps = [
{
prop: 'plcTableName',
- label: '关联表名'
+ label: '关联表名',
+ showOverflowtooltip: true
},
{
prop: 'code',
@@ -60,7 +37,9 @@ const tableProps = [
},
{
prop: 'name',
- label: '标识名'
+ label: '标识名',
+ minWidth: 150,
+ showOverflowtooltip: true
},
{
prop: 'enName',
@@ -109,21 +88,21 @@ export default {
tableBtn: [
this.$auth.hasPermi('base:energy-plc:update')
? {
- type: 'edit',
- btnName: '编辑'
- }
+ type: 'edit',
+ btnName: '编辑'
+ }
: undefined,
this.$auth.hasPermi('base:energy-plc:delete')
? {
- type: 'delete',
- btnName: '删除'
- }
+ type: 'delete',
+ btnName: '删除'
+ }
: undefined
].filter((v) => v),
tableH: this.tableHeight(260),
collectionList: [
- {value: 0,label: '否'},
- {value: 1,label: '是'}
+ { value: 0, label: '否' },
+ { value: 1, label: '是' }
],
// 总条数
total: 0,
@@ -167,7 +146,7 @@ export default {
getList() {
getEnergyPlcPage(this.queryParams).then(response => {
let arr = response.data.list || [];
- arr&&arr.map(item => {
+ arr && arr.map(item => {
this.collectionList.map(i => {
if (item.collection === i.value) {
item.collection = i.label
@@ -188,7 +167,7 @@ export default {
this.centervisible = true
break
default:
- this.handleDelete(val.data)
+ this.handleDelete(val.data)
}
},
handleCancel() {
@@ -205,13 +184,13 @@ export default {
},
/** 删除按钮操作 */
handleDelete(row) {
- this.$modal.confirm('是否确认删除关联表名为"' + row.name + '"的数据项?').then(function() {
- return deleteEnergyPlc(row.id);
- }).then(() => {
- this.queryParams.pageNo = 1;
- this.getList();
- this.$modal.msgSuccess("删除成功");
- }).catch(() => {});
+ this.$modal.confirm('是否确认删除关联表名为"' + row.name + '"的数据项?').then(function () {
+ return deleteEnergyPlc(row.id);
+ }).then(() => {
+ this.queryParams.pageNo = 1;
+ this.getList();
+ this.$modal.msgSuccess("删除成功");
+ }).catch(() => { });
}
}
};
diff --git a/src/views/energy/base/energyPlcConnect/index.vue b/src/views/energy/base/energyPlcConnect/index.vue
index c5b679ef..a7303062 100644
--- a/src/views/energy/base/energyPlcConnect/index.vue
+++ b/src/views/energy/base/energyPlcConnect/index.vue
@@ -2,47 +2,23 @@
@@ -63,17 +39,20 @@ const tableProps = [
label: '对象编码'
},
{
- prop: 'plcTableName',
+ prop: 'plcTableName',
label: '关联表名'
},
{
prop: 'plcTableCode',
label: '关联表编码',
+ minWidth: 150,
showOverflowtooltip: true
},
{
prop: 'cnName',
- label: '标识名'
+ label: '标识名',
+ minWidth: 150,
+ showOverflowtooltip: true
},
{
prop: 'varNum',
@@ -113,9 +92,9 @@ export default {
tableBtn: [
this.$auth.hasPermi('base:energy-plc-connect:bind')
? {
- type: 'connect',
- btnName: '绑定'
- }
+ type: 'connect',
+ btnName: '绑定'
+ }
: undefined,
{
type: 'detail',
@@ -123,15 +102,15 @@ export default {
},
this.$auth.hasPermi('base:energy-plc-connect:update')
? {
- type: 'edit',
- btnName: '编辑'
- }
+ type: 'edit',
+ btnName: '编辑'
+ }
: undefined,
this.$auth.hasPermi('base:energy-plc-connect:delete')
? {
- type: 'delete',
- btnName: '删除'
- }
+ type: 'delete',
+ btnName: '删除'
+ }
: undefined
].filter((v) => v),
tableH: this.tableHeight(260),
@@ -230,13 +209,13 @@ export default {
},
/** 删除按钮操作 */
handleDelete(row) {
- this.$modal.confirm('是否确认删除对象为"' + row.objName + '"的数据项?').then(function() {
- return deleteEnergyPlcConnect(row.id);
- }).then(() => {
- this.queryParams.pageNo = 1;
- this.getList();
- this.$modal.msgSuccess("删除成功");
- }).catch(() => {});
+ this.$modal.confirm('是否确认删除对象为"' + row.objName + '"的数据项?').then(function () {
+ return deleteEnergyPlcConnect(row.id);
+ }).then(() => {
+ this.queryParams.pageNo = 1;
+ this.getList();
+ this.$modal.msgSuccess("删除成功");
+ }).catch(() => { });
},
closeDrawer() {
this.getList()
diff --git a/src/views/group/base/groupClasses/index.vue b/src/views/group/base/groupClasses/index.vue
index 049d5b95..74ac415b 100644
--- a/src/views/group/base/groupClasses/index.vue
+++ b/src/views/group/base/groupClasses/index.vue
@@ -2,43 +2,18 @@
@@ -85,7 +60,7 @@ const tableProps = [
}
]
export default {
- name: "GroupClass",
+ name: "GroupClasses",
components: { GroupClassAdd },
data() {
return {
@@ -115,33 +90,33 @@ export default {
],
tableProps,
tableBtn: [
- this.$auth.hasPermi('base:group-classes:cancel')
+ this.$auth.hasPermi('base:group-classes:cancel')
? {
- type: 'cancel',
- btnName: '作废',
- showParam: {
- type: '&',
- data: [
- {
- type: 'unequal',
- name: 'status',
- value: '不可用'
- }
- ]
- }
+ type: 'cancel',
+ btnName: '作废',
+ showParam: {
+ type: '&',
+ data: [
+ {
+ type: 'unequal',
+ name: 'status',
+ value: '不可用'
+ }
+ ]
}
+ }
: undefined,
this.$auth.hasPermi('base:group-classes:update')
? {
- type: 'edit',
- btnName: '编辑'
- }
+ type: 'edit',
+ btnName: '编辑'
+ }
: undefined,
this.$auth.hasPermi('base:group-classes:delete')
? {
- type: 'delete',
- btnName: '删除'
- }
+ type: 'delete',
+ btnName: '删除'
+ }
: undefined
].filter((v) => v),
tableH: this.tableHeight(260),
@@ -213,7 +188,7 @@ export default {
this.discard(val.data)
break
default:
- this.handleDelete(val.data)
+ this.handleDelete(val.data)
}
},
handleCancel() {
@@ -235,33 +210,33 @@ export default {
obj.endTime = row.endTime
obj.enableTime = row.enableTime
obj.disableTime = Date.parse(new Date())
- this.$modal.confirm('是否确认作废班次名称为"' + row.name + '"的数据项?').then(function() {
- return updateGroupClasses({ ...obj })
- }).then(() => {
- this.getList();
- this.$modal.msgSuccess("操作成功");
- }).catch(() => {});
+ this.$modal.confirm('是否确认作废班次名称为"' + row.name + '"的数据项?').then(function () {
+ return updateGroupClasses({ ...obj })
+ }).then(() => {
+ this.getList();
+ this.$modal.msgSuccess("操作成功");
+ }).catch(() => { });
},
/** 删除按钮操作 */
handleDelete(row) {
console.log(row)
let _this = this
if (row.status === '可用') {// 可用
- _this.$modal.confirm('删除的班次"' + row.name + '"可能会影响交接班计划,请点取消再次确认!').then(function() {
- return _this.$modal.confirm('是否确认删除班次名称为"' + row.name + '"的数据项?').then(function() {
- return deleteGroupClasses(row.id);
- }).then(() => {
- _this.getList();
- _this.$modal.msgSuccess("删除成功");
- }).catch(() => {});
- })
- } else {
- _this.$modal.confirm('是否确认删除班次名称为"' + row.name + '"的数据项?').then(function() {
+ _this.$modal.confirm('删除的班次"' + row.name + '"可能会影响交接班计划,请点取消再次确认!').then(function () {
+ return _this.$modal.confirm('是否确认删除班次名称为"' + row.name + '"的数据项?').then(function () {
return deleteGroupClasses(row.id);
}).then(() => {
_this.getList();
_this.$modal.msgSuccess("删除成功");
- }).catch(() => {});
+ }).catch(() => { });
+ })
+ } else {
+ _this.$modal.confirm('是否确认删除班次名称为"' + row.name + '"的数据项?').then(function () {
+ return deleteGroupClasses(row.id);
+ }).then(() => {
+ _this.getList();
+ _this.$modal.msgSuccess("删除成功");
+ }).catch(() => { });
}
}
}
diff --git a/src/views/infra/apiAccessLog/index.vue b/src/views/infra/apiAccessLog/index.vue
deleted file mode 100644
index 345adf63..00000000
--- a/src/views/infra/apiAccessLog/index.vue
+++ /dev/null
@@ -1,210 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
- >
-
-
-
-
-
- {{ parseTime(scope.row.beginTime) }}
-
-
-
-
- {{ scope.row.duration }} ms
-
-
-
-
- {{ scope.row.resultCode === 0 ? '成功' : '失败(' + scope.row.resultMsg + ')' }}
-
-
-
-
- 详细
-
-
-
-
-
-
-
-
-
-
-
- {{ form.id }}
- {{ form.traceId }}
- {{ form.applicationName }}
-
- {{ form.userId }} | {{ form.userIp }} | {{ form.userAgent}}
-
- {{ form.requestMethod }} | {{ form.requestUrl }}
- {{ form.requestParams }}
-
- {{ parseTime(form.beginTime) }} ~ {{ parseTime(form.endTime) }} | {{ form.duration }} ms
-
-
- 正常
- 失败 | {{ form.resultCode }} || {{ form.resultMsg}}
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/apiErrorLog/index.vue b/src/views/infra/apiErrorLog/index.vue
deleted file mode 100644
index f076bc72..00000000
--- a/src/views/infra/apiErrorLog/index.vue
+++ /dev/null
@@ -1,228 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
- >
-
-
-
-
-
- {{ parseTime(scope.row.exceptionTime) }}
-
-
-
-
-
-
-
-
-
-
- 详细
- 已处理
- 已忽略
-
-
-
-
-
-
-
-
-
-
-
-
- {{ form.id }}
- {{ form.traceId }}
- {{ form.applicationName }}
-
- {{ form.userId }} | {{ form.userIp }} | {{ form.userAgent}}
-
- {{ form.requestMethod }} | {{ form.requestUrl }}
- {{ form.requestParams }}
- {{ parseTime(form.exceptionTime) }}
- {{ form.exceptionName }}
-
-
-
-
-
-
- {{ form.processUserId }}
- {{ parseTime(form.processTime) }}
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/build/App.vue b/src/views/infra/build/App.vue
deleted file mode 100644
index b25f0b56..00000000
--- a/src/views/infra/build/App.vue
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/views/infra/build/CodeTypeDialog.vue b/src/views/infra/build/CodeTypeDialog.vue
deleted file mode 100644
index 6f0c0d19..00000000
--- a/src/views/infra/build/CodeTypeDialog.vue
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
-
-
- 确定
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/build/DraggableItem.vue b/src/views/infra/build/DraggableItem.vue
deleted file mode 100644
index 4cccea6b..00000000
--- a/src/views/infra/build/DraggableItem.vue
+++ /dev/null
@@ -1,120 +0,0 @@
-
diff --git a/src/views/infra/build/FormDrawer.vue b/src/views/infra/build/FormDrawer.vue
deleted file mode 100644
index 8c3c3059..00000000
--- a/src/views/infra/build/FormDrawer.vue
+++ /dev/null
@@ -1,331 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- template
-
-
-
-
-
-
- script
-
-
-
-
-
-
- css
-
-
-
-
-
-
-
-
-
-
-
- 刷新
-
-
-
- 导出vue文件
-
-
-
- 复制代码
-
-
-
- 关闭
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/build/IconsDialog.vue b/src/views/infra/build/IconsDialog.vue
deleted file mode 100644
index ae4b2e80..00000000
--- a/src/views/infra/build/IconsDialog.vue
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
diff --git a/src/views/infra/build/JsonDrawer.vue b/src/views/infra/build/JsonDrawer.vue
deleted file mode 100644
index 07dfbf9c..00000000
--- a/src/views/infra/build/JsonDrawer.vue
+++ /dev/null
@@ -1,144 +0,0 @@
-
-
-
-
-
-
- 刷新
-
-
-
- 复制JSON
-
-
-
- 导出JSON文件
-
-
-
- 关闭
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/build/README.md b/src/views/infra/build/README.md
deleted file mode 100644
index e69de29b..00000000
diff --git a/src/views/infra/build/ResourceDialog.vue b/src/views/infra/build/ResourceDialog.vue
deleted file mode 100644
index 58b728ab..00000000
--- a/src/views/infra/build/ResourceDialog.vue
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
-
-
-
- jQuery1.8.3
-
-
- http-vue-loader
-
-
- 添加其他
-
-
-
-
- 取消
-
-
- 确定
-
-
-
-
-
-
-
diff --git a/src/views/infra/build/RightPanel.vue b/src/views/infra/build/RightPanel.vue
deleted file mode 100644
index ca5dc0f5..00000000
--- a/src/views/infra/build/RightPanel.vue
+++ /dev/null
@@ -1,1050 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.__config__.label }}
-
-
-
-
-
-
-
-
- {{ activeData.__config__.componentName }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 选择
-
-
-
-
-
-
- 选择
-
-
-
-
-
-
- 选择
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 默认
-
-
- 右侧
-
-
-
-
-
-
- 个字符
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text
-
-
- picture
-
-
- picture-card
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 选项
-
-
-
-
-
- 添加选项
-
-
-
-
-
-
- 选项
-
-
-
- 动态数据
-
-
- 静态数据
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 添加父级
-
-
-
-
-
-
-
-
- 默认
-
-
- 按钮
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 中等
-
-
- 较小
-
-
- 迷你
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 布局结构树
-
-
-
-
- {{ node.label }}
-
-
-
-
-
-
- 正则校验
-
-
-
-
-
-
-
-
-
-
-
-
-
- 添加规则
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 中等
-
-
- 较小
-
-
- 迷你
-
-
-
-
-
-
- 左对齐
-
-
- 右对齐
-
-
- 顶部对齐
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/build/TreeNodeDialog.vue b/src/views/infra/build/TreeNodeDialog.vue
deleted file mode 100644
index 62d8c88f..00000000
--- a/src/views/infra/build/TreeNodeDialog.vue
+++ /dev/null
@@ -1,158 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 确定
-
-
- 取消
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/build/index.vue b/src/views/infra/build/index.vue
deleted file mode 100644
index 83f68240..00000000
--- a/src/views/infra/build/index.vue
+++ /dev/null
@@ -1,470 +0,0 @@
-
-
-
-
-
-
Form Generator
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}
-
-
-
-
-
- {{ element.__config__.label }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查看json
-
-
- 导出vue文件
-
-
- 复制代码
-
-
- 清空
-
-
-
-
-
-
-
-
-
- 从左侧拖入或点选组件进行表单设计
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/build/main.js b/src/views/infra/build/main.js
deleted file mode 100644
index 9ced7172..00000000
--- a/src/views/infra/build/main.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import Vue from 'vue'
-import App from './App.vue'
-import router from '@/router'
-import '@/styles/index.scss'
-import '@/assets/icons'
-import axios from 'axios'
-import Tinymce from '@/components/tinymce/index.vue'
-
-Vue.component('tinymce', Tinymce)
-
-Vue.config.productionTip = false
-Vue.prototype.$axios = axios
-
-// add by 芋道源码:引用自 https://github.com/JakHuang/form-generator/tree/dev/src/views/index
-
-new Vue({
- router,
- render: h => h(App)
-}).$mount('#app')
diff --git a/src/views/infra/codegen/basicInfoForm.vue b/src/views/infra/codegen/basicInfoForm.vue
deleted file mode 100644
index d2b37444..00000000
--- a/src/views/infra/codegen/basicInfoForm.vue
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 实体类名称
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/codegen/editTable.vue b/src/views/infra/codegen/editTable.vue
deleted file mode 100644
index fee16c34..00000000
--- a/src/views/infra/codegen/editTable.vue
+++ /dev/null
@@ -1,235 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 提交
- 返回
-
-
-
-
-
diff --git a/src/views/infra/codegen/genInfoForm.vue b/src/views/infra/codegen/genInfoForm.vue
deleted file mode 100644
index a9a6ac8f..00000000
--- a/src/views/infra/codegen/genInfoForm.vue
+++ /dev/null
@@ -1,339 +0,0 @@
-
-
-
-
-
- 生成模板
-
-
-
-
-
-
-
- 前端类型
-
-
-
-
-
-
-
-
- 生成场景
-
-
-
-
-
-
-
-
- 上级菜单
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 模块名
-
-
-
-
-
-
-
-
-
-
-
- 业务名
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 类名称
-
-
-
-
-
-
-
-
-
-
-
- 类描述
-
-
-
-
-
-
-
-
-
-
-
- 自定义路径
-
-
-
-
-
-
-
- 最近路径快速选择
-
-
-
- 恢复默认的生成基础路径
-
-
-
-
-
-
-
-
-
-
-
-
- 树编码字段
-
-
-
-
-
-
-
-
-
-
-
-
- 树父编码字段
-
-
-
-
-
-
-
-
-
-
-
-
- 树名称字段
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 关联子表的表名
-
-
-
-
-
-
-
-
-
-
-
-
- 子表关联的外键名
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/codegen/importTable.vue b/src/views/infra/codegen/importTable.vue
deleted file mode 100644
index bf5252d4..00000000
--- a/src/views/infra/codegen/importTable.vue
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/codegen/index.vue b/src/views/infra/codegen/index.vue
deleted file mode 100644
index 252f1197..00000000
--- a/src/views/infra/codegen/index.vue
+++ /dev/null
@@ -1,317 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 导入
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- {{ parseTime(scope.row.updateTime) }}
-
-
-
-
- 预览
- 编辑
- 删除
- 同步
- 生成代码
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 复制
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/config/index.vue b/src/views/infra/config/index.vue
deleted file mode 100644
index 6ec5ac0b..00000000
--- a/src/views/infra/config/index.vue
+++ /dev/null
@@ -1,262 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
- 新增
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.visible ? '是' : '否' }}
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 是
- 否
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/dataSourceConfig/index.vue b/src/views/infra/dataSourceConfig/index.vue
deleted file mode 100644
index 576259ce..00000000
--- a/src/views/infra/dataSourceConfig/index.vue
+++ /dev/null
@@ -1,166 +0,0 @@
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/dbDoc/index.vue b/src/views/infra/dbDoc/index.vue
deleted file mode 100644
index a7b40f8c..00000000
--- a/src/views/infra/dbDoc/index.vue
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
- 导出 HTML
- 导出 Word
- 导出 Markdown
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/druid/index.vue b/src/views/infra/druid/index.vue
deleted file mode 100644
index 88a70a5b..00000000
--- a/src/views/infra/druid/index.vue
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/file/index.vue b/src/views/infra/file/index.vue
deleted file mode 100644
index b4ebf35f..00000000
--- a/src/views/infra/file/index.vue
+++ /dev/null
@@ -1,216 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 上传文件
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 无法预览,点击
- 下载
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
- 将文件拖到此处,或 点击上传
-
- 提示:仅允许导入 jpg、png、gif 格式文件!
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/fileConfig/index.vue b/src/views/infra/fileConfig/index.vue
deleted file mode 100644
index 01e671fa..00000000
--- a/src/views/infra/fileConfig/index.vue
+++ /dev/null
@@ -1,305 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 主配置
- 测试
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 主动模式
- 主动模式
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/job/index.vue b/src/views/infra/job/index.vue
deleted file mode 100644
index 052e3417..00000000
--- a/src/views/infra/job/index.vue
+++ /dev/null
@@ -1,378 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
- 新增
-
-
- 导出
-
-
- 执行日志
-
-
-
-
-
-
-
-
-
-
-
- >
-
-
-
-
-
- 修改
- 开启
- 暂停
- 删除
- handleCommand(command, scope.row)"
- v-hasPermi="['infra:job:trigger', 'infra:job:query']">
- 更多
-
- 执行一次
- 任务详细
- 调度日志
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 生成表达式
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ form.id }}
- {{ form.name }}
-
-
-
- {{ form.handlerName }}
- {{ form.handlerParam }}
- {{ form.cronExpression }}
- {{ form.retryCount }}
- {{ form.retryInterval + " 毫秒" }}
- {{ form.monitorTimeout > 0 ? form.monitorTimeout + " 毫秒" : "未开启" }}
- {{ Array.from(nextTimes, x => parseTime(x)).join('; ')}}
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/job/log.vue b/src/views/infra/job/log.vue
deleted file mode 100644
index ab47bb07..00000000
--- a/src/views/infra/job/log.vue
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.beginTime) + ' ~ ' + parseTime(scope.row.endTime) }}
-
-
-
-
- {{ scope.row.duration + ' 毫秒' }}
-
-
-
-
-
-
-
-
-
- 详细
-
-
-
-
-
-
-
-
-
-
-
- {{ form.id }}
- {{ form.jobId }}
- {{ form.handlerName }}
- {{ form.handlerParam }}
- {{ form.executeIndex }}
- {{ parseTime(form.beginTime) + ' ~ ' + parseTime(form.endTime) }}
- {{ form.duration + ' 毫秒' }}
-
-
-
- {{ form.result }}
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/redis/index.vue b/src/views/infra/redis/index.vue
deleted file mode 100644
index 0f08aef8..00000000
--- a/src/views/infra/redis/index.vue
+++ /dev/null
@@ -1,157 +0,0 @@
-
-
-
-
-
-
-
- 基本信息
-
-
-
-
- Redis版本 |
- {{ cache.info.redis_version }} |
- 运行模式 |
- {{ cache.info.redis_mode === "standalone" ? "单机" : "集群" }} |
- 端口 |
- {{ cache.info.tcp_port }} |
- 客户端数 |
- {{ cache.info.connected_clients }} |
-
-
- 运行时间(天) |
- {{ cache.info.uptime_in_days }} |
- 使用内存 |
- {{ cache.info.used_memory_human }} |
- 使用CPU |
- {{ parseFloat(cache.info.used_cpu_user_children).toFixed(2) }} |
- 内存配置 |
- {{ cache.info.maxmemory_human }} |
-
-
- AOF是否开启 |
- {{ cache.info.aof_enabled === "0" ? "否" : "是" }} |
- RDB是否成功 |
- {{ cache.info.rdb_last_bgsave_status }} |
- Key数量 |
- {{ cache.dbSize }} |
- 网络入口/出口 |
- {{ cache.info.instantaneous_input_kbps }}kps/{{cache.info.instantaneous_output_kbps}}kps |
-
-
-
-
-
-
-
-
-
- 命令统计
-
-
-
-
-
-
-
- 内存信息
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/server/index.vue b/src/views/infra/server/index.vue
deleted file mode 100644
index 575597d8..00000000
--- a/src/views/infra/server/index.vue
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/views/infra/skywalking/index.vue b/src/views/infra/skywalking/index.vue
deleted file mode 100644
index 2b3f2a19..00000000
--- a/src/views/infra/skywalking/index.vue
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/views/infra/swagger/index.vue b/src/views/infra/swagger/index.vue
deleted file mode 100644
index 249269c8..00000000
--- a/src/views/infra/swagger/index.vue
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/views/infra/testDemo/index.vue b/src/views/infra/testDemo/index.vue
deleted file mode 100644
index a68c2162..00000000
--- a/src/views/infra/testDemo/index.vue
+++ /dev/null
@@ -1,257 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 请选择字典生成
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/webSocket/index.vue b/src/views/infra/webSocket/index.vue
deleted file mode 100644
index d48ffd3c..00000000
--- a/src/views/infra/webSocket/index.vue
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- {{ ws && ws.readyState === 1 ? "已连接" : "连接" }}
-
- 断开
-
-
-
-
-
-
-
- 发送消息
-
-
-
-
-
- 清空消息
-
-
-
-
-
-
diff --git a/src/views/mall/market/banner/index.vue b/src/views/mall/market/banner/index.vue
deleted file mode 100644
index 9b683eda..00000000
--- a/src/views/mall/market/banner/index.vue
+++ /dev/null
@@ -1,261 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ dict.label }}
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/product/brand/index.vue b/src/views/mall/product/brand/index.vue
deleted file mode 100644
index 2f357898..00000000
--- a/src/views/mall/product/brand/index.vue
+++ /dev/null
@@ -1,247 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ dict.label }}
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/product/category/index.vue b/src/views/mall/product/category/index.vue
deleted file mode 100644
index ff230fff..00000000
--- a/src/views/mall/product/category/index.vue
+++ /dev/null
@@ -1,270 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增
-
-
-
- 展开/折叠
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 推荐 200x100 图片分辨率
- 推荐 100x100 图片分辨率
-
-
-
-
-
-
- {{ dict.label }}
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/product/property/index.vue b/src/views/mall/product/property/index.vue
deleted file mode 100644
index 5b105bfc..00000000
--- a/src/views/mall/product/property/index.vue
+++ /dev/null
@@ -1,207 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.name }}
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/product/property/value.vue b/src/views/mall/product/property/value.vue
deleted file mode 100644
index cb61fe76..00000000
--- a/src/views/mall/product/property/value.vue
+++ /dev/null
@@ -1,240 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/product/spu/index.vue b/src/views/mall/product/spu/index.vue
deleted file mode 100644
index 806e4f20..00000000
--- a/src/views/mall/product/spu/index.vue
+++ /dev/null
@@ -1,392 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 添加商品
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ scope.row.name }}
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ scope.row.name }}
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ scope.row.name }}
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ scope.row.name }}
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/product/spu/save.vue b/src/views/mall/product/spu/save.vue
deleted file mode 100644
index 307f58f3..00000000
--- a/src/views/mall/product/spu/save.vue
+++ /dev/null
@@ -1,580 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 立即上架
- 放入仓库
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 禁用
-
-
- 启用
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 是
- 否
-
-
-
-
-
-
-
- 取消
- 确认
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/promotion/coupon/index.vue b/src/views/mall/promotion/coupon/index.vue
deleted file mode 100644
index 45a132f7..00000000
--- a/src/views/mall/promotion/coupon/index.vue
+++ /dev/null
@@ -1,164 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- {{ parseTime(scope.row.useTime) }}
-
-
-
-
- 回收
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/promotion/couponTemplate/index.vue b/src/views/mall/promotion/couponTemplate/index.vue
deleted file mode 100644
index db81ab3c..00000000
--- a/src/views/mall/promotion/couponTemplate/index.vue
+++ /dev/null
@@ -1,404 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增
- this.$router.push('/promotion/coupon')"
- v-hasPermi="['promotion:coupon:query']">会员优惠劵
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{dict.label}}
-
-
-
- 元
-
-
- 折
-
-
- 元
-
-
- 元
-
-
-
- 直接领取
- 指定发放
-
-
-
- 张
-
-
- 张
-
-
-
- {{dict.label}}
-
-
-
-
-
-
- 第 至
- 天有效
-
-
-
- {{dict.label}}
-
-
-
-
-
- {{ item.name }}
- ¥{{ (item.minPrice / 100.0).toFixed(2) }}
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/promotion/discountActivity/index.vue b/src/views/mall/promotion/discountActivity/index.vue
deleted file mode 100644
index 157f51df..00000000
--- a/src/views/mall/promotion/discountActivity/index.vue
+++ /dev/null
@@ -1,383 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
- 开始:{{ parseTime(scope.row.startTime) }}
- 结束:{{ parseTime(scope.row.endTime) }}
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 关闭
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.spuName }} {{ item.name}}
- ¥{{ (item.price / 100.0).toFixed(2) }}
-
-
-
-
-
- {{ scope.row.spuName }} {{ scope.row.name}}
-
-
-
-
- ¥{{ (scope.row.price / 100.0).toFixed(2) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
- 减 元
-
-
- 打 折
-
-
-
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/promotion/rewardActivity/index.vue b/src/views/mall/promotion/rewardActivity/index.vue
deleted file mode 100644
index 19c043c3..00000000
--- a/src/views/mall/promotion/rewardActivity/index.vue
+++ /dev/null
@@ -1,306 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
- 开始:{{ parseTime(scope.row.startTime) }}
- 结束:{{ parseTime(scope.row.endTime) }}
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 关闭
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{dict.label}}
-
-
-
-
-
-
-
- {{dict.label}}
-
-
-
-
-
- {{ item.name }}
- ¥{{ (item.minPrice / 100.0).toFixed(2) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/promotion/seckill/seckillActivity/index.vue b/src/views/mall/promotion/seckill/seckillActivity/index.vue
deleted file mode 100644
index 5616fb98..00000000
--- a/src/views/mall/promotion/seckill/seckillActivity/index.vue
+++ /dev/null
@@ -1,491 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增秒杀活动
-
-
- 管理参与场次
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
- {{ "开始: " + parseTime(scope.row.startTime) }}
- {{ "结束: " + parseTime(scope.row.endTime) }}
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 关闭
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name + ': { ' }} {{ item.startTime }} -- {{ item.endTime +
- ' }'
- }}
-
-
-
-
-
-
-
- {{ item.spuName }} {{ item.name }}
- ¥{{ (item.price /
- 100.0).toFixed(2)
- }}
-
-
-
- 限购
- 秒杀价
- 秒杀库存
-
-
-
-
-
-
- {{ scope.row.spuName }} {{ scope.row.name }}
-
-
-
-
- ¥{{ (scope.row.price / 100.0).toFixed(2) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/promotion/seckill/seckillTime/index.vue b/src/views/mall/promotion/seckill/seckillTime/index.vue
deleted file mode 100644
index 898ead78..00000000
--- a/src/views/mall/promotion/seckill/seckillTime/index.vue
+++ /dev/null
@@ -1,198 +0,0 @@
-
-
-
-
-
-
-
- 新增秒杀时段
-
-
-
-
-
-
-
-
-
- {{ scope.row.startTime }}
-
-
-
-
- {{ scope.row.endTime }}
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
- 查看秒杀活动
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/trade/afterSale/index.vue b/src/views/mall/trade/afterSale/index.vue
deleted file mode 100644
index 271ecd26..00000000
--- a/src/views/mall/trade/afterSale/index.vue
+++ /dev/null
@@ -1,229 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ¥{{ (scope.row.refundPrice / 100.0).toFixed(2) }}
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 处理退款
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/trade/order/detail.vue b/src/views/mall/trade/order/detail.vue
deleted file mode 100644
index 15bc705a..00000000
--- a/src/views/mall/trade/order/detail.vue
+++ /dev/null
@@ -1,279 +0,0 @@
-
-
-
-
- {{ order.no }}
- 物流配送
- 物流配送
-
-
-
- {{ order.receiverName }}
- {{ order.userRemark }}
-
-
-
- {{ order.receiverMobile }}
- {{ order.remark }}
- {{ order.payOrderId }}
-
-
-
- {{ order.user.nickname }}
-
- {{ order.receiverAreaName }} {{ order.receiverDetailAddress }}
-
-
-
-
-
-
-
-
-
-
- 调整价格
- 备注
- 发货
- 关闭订单
- 修改地址
- 打印电子面单
- 打印发货单
- 确认收货
-
-
- 买家付款成功后,货款将直接进入您的商户号(微信、支付宝)
- 请及时关注你发出的包裹状态,确保可以配送至买家手中
- 如果买家表示没收到货或货物有问题,请及时联系买家处理,友好协商
-
-
-
-
-
-
-
-
-
-
-
- {{row.spuName}}
-
- {{property.propertyName}}:{{property.valueName}}
-
-
-
-
- ¥{{ (row.originalUnitPrice / 100.0).toFixed(2) }}
-
-
-
-
-
- ¥{{ (row.originalPrice / 100.0).toFixed(2) }}
-
-
-
-
-
-
-
-
-
-
- ¥{{ (order.originalPrice / 100.0).toFixed(2) }}
- ¥{{ (order.deliveryPrice / 100.0).toFixed(2) }}
- ¥{{ (order.adjustPrice / 100.0).toFixed(2) }}
-
- ¥{{ ((order.originalPrice - order.originalPrice) / 100.0).toFixed(2) }}
-
-
- ¥{{ (order.discountPrice / 100.0).toFixed(2) }}
-
-
- ¥{{ (order.pointPrice / 100.0).toFixed(2) }}
-
-
-
- ¥{{ (order.payPrice / 100.0).toFixed(2) }}
-
-
-
-
-
-
-
-
-
-
- {{activity.content}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{goodInfo.name}}
- {{goodInfo.count}}
-
-
-
-
-
-
-
- {{activity.content}}
-
-
-
-
- {{pkgInfo[pkgChild.valueKey]}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mall/trade/order/index.vue b/src/views/mall/trade/order/index.vue
deleted file mode 100644
index fb25056b..00000000
--- a/src/views/mall/trade/order/index.vue
+++ /dev/null
@@ -1,281 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 订单号:{{row.no}}
-
- 更多
-
-
- 下单时间:{{ parseTime(row.createTime) }}
- 订单来源:
-
-
- 支付方式:
-
- 未支付
-
-
- 详情
-
-
-
-
-
-
-
-
-
{{row.spuName}}
-
-
- {{property.propertyName}}:{{property.valueName}}
-
-
-
-
-
- ¥{{ (row.originalUnitPrice / 100.0).toFixed(2) }}
- {{row.count}} 件
-
-
-
-
-
-
-
-
- {{row.buyer}}
- {{row.receiver}}{{row.tel}}
- {{row.address}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/order/base/orderManage/orderDetailData.vue b/src/views/order/base/orderManage/orderDetailData.vue
index 0faa81db..7ac7a6ea 100644
--- a/src/views/order/base/orderManage/orderDetailData.vue
+++ b/src/views/order/base/orderManage/orderDetailData.vue
@@ -21,7 +21,7 @@
产品名称
- {{ orderMsg.productName }}
+ {{ orderMsg.productName }}
产品规格
@@ -282,6 +282,9 @@ export default {
font-weight: 400;
color: rgba(102, 102, 102, 0.75);
margin-bottom: 12px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
}
diff --git a/src/views/order/monitoring/orderCompletionMonitoring/index.vue b/src/views/order/monitoring/orderCompletionMonitoring/index.vue
index f66a4322..45fc2de7 100644
--- a/src/views/order/monitoring/orderCompletionMonitoring/index.vue
+++ b/src/views/order/monitoring/orderCompletionMonitoring/index.vue
@@ -1,38 +1,21 @@
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增
-
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 修改
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ dict.label }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/pay/demo/index.vue b/src/views/pay/demo/index.vue
deleted file mode 100644
index ef802361..00000000
--- a/src/views/pay/demo/index.vue
+++ /dev/null
@@ -1,214 +0,0 @@
-
-
-
-
-
- 发起订单
-
-
-
-
-
-
-
-
-
-
-
- ¥{{ (scope.row.price / 100.0).toFixed(2) }}
-
-
-
-
- ¥{{ (scope.row.refundPrice / 100.0).toFixed(2) }}
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.payTime) }}
-
-
-
-
- {{ parseTime(scope.row.refundTime) }}
-
-
-
-
- 前往支付
- 发起退款
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name}}
- ¥{{ (item.price / 100.0).toFixed(2) }}
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/pay/merchant/index.vue b/src/views/pay/merchant/index.vue
deleted file mode 100644
index f0d56c5a..00000000
--- a/src/views/pay/merchant/index.vue
+++ /dev/null
@@ -1,282 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 新增
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{dict.label}}
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/pay/order/index.vue b/src/views/pay/order/index.vue
deleted file mode 100644
index ecf70bb7..00000000
--- a/src/views/pay/order/index.vue
+++ /dev/null
@@ -1,439 +0,0 @@
-
-
-
-
-
-
- {queryParams.merchantId = null}"
- filterable remote reserve-keyword placeholder="请选择所属商户" @change="handleGetAppListByMerchantId"
- :remote-method="handleGetMerchantListByName" :loading="merchantLoading">
-
-
-
-
-
-
-
-
-
- {queryParams.channelCode = null}">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
- 商户名称: {{ scope.row.merchantName }}
- 应用名称: {{ scope.row.appName }}
- 渠道名称: {{ scope.row.channelCodeName }}
-
- {{ scope.row.channelCodeName }}
-
-
-
-
-
-
- 商户 {{scope.row.merchantOrderId}}
- 支付 {{scope.row.channelOrderNo}}
-
-
-
-
-
-
-
- ¥{{ parseFloat(scope.row.amount / 100).toFixed(2) }}
-
-
-
-
- ¥{{ parseFloat(scope.row.channelFeeAmount / 100).toFixed(2) }}
-
-
-
-
- ¥{{ parseFloat(scope.row.refundAmount / 100).toFixed(2) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- {{ parseTime(scope.row.successTime) }}
-
-
-
-
- 查看详情
-
-
-
-
-
-
-
-
-
-
- {{ orderDetail.merchantName }}
- {{ orderDetail.appName }}
- {{ orderDetail.subject }}
-
-
-
-
- {{ orderDetail.merchantOrderId }}
-
-
- {{ orderDetail.channelOrderNo }}
-
-
-
- {{ orderDetail.payOrderExtension.no }}
-
-
-
- {{ parseFloat(orderDetail.amount / 100, 2) }}
-
-
- {{ parseFloat(orderDetail.channelFeeAmount / 100, 2) }}
-
-
- {{ parseFloat(orderDetail.channelFeeRate / 100, 2) }}%
-
-
-
-
-
-
-
- {{ orderDetail.notifyUrl }}
- {{ parseTime(orderDetail.createTime) }}
- {{ parseTime(orderDetail.successTime) }}
- {{ parseTime(orderDetail.expireTime) }}
- {{ parseTime(orderDetail.notifyTime) }}
-
-
-
- {{ orderDetail.channelCodeName }}
- {{ orderDetail.userIp }}
-
-
-
- {{ orderDetail.refundTimes }}
-
-
- {{ parseFloat(orderDetail.refundAmount / 100, 2) }}
-
-
-
-
-
-
- {{ orderDetail.body }}
-
-
- {{ orderDetail.payOrderExtension.channelNotifyData }}
-
-
-
-
-
-
-
-
diff --git a/src/views/pay/order/submit.vue b/src/views/pay/order/submit.vue
deleted file mode 100644
index 532cc735..00000000
--- a/src/views/pay/order/submit.vue
+++ /dev/null
@@ -1,397 +0,0 @@
-
-
-
-
-
- {{ payOrder.id }}
- {{ payOrder.subject }}
- {{ payOrder.body }}
- ¥{{ (payOrder.amount / 100.0).toFixed(2) }}
- {{ parseTime(payOrder.createTime) }}
- {{ parseTime(payOrder.expireTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
{{ channel.name }}
-
-
-
-
-
-
-
-
{{ channel.name }}
-
-
-
-
-
-
-
-
{{ channel.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 或使用
- (扫码枪/扫码盒)
- 扫码
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/pay/refund/index.vue b/src/views/pay/refund/index.vue
deleted file mode 100644
index cc2ef5c3..00000000
--- a/src/views/pay/refund/index.vue
+++ /dev/null
@@ -1,486 +0,0 @@
-
-
-
-
-
- {queryParams.merchantId = null}"
- filterable remote reserve-keyword placeholder="请选择所属商户" @change="handleGetAppListByMerchantId"
- :remote-method="handleGetMerchantListByName" :loading="merchantLoading">
-
-
-
-
-
-
-
-
-
- {queryParams.channelCode = null}">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
- 商户名称: {{ scope.row.merchantName }}
- 应用名称: {{ scope.row.appName }}
- 渠道名称: {{ scope.row.channelCodeName }}
-
- {{ scope.row.channelCodeName }}
-
-
-
-
-
-
-
-
-
- 退款
- {{ scope.row.merchantRefundNo }}
-
-
- 交易
- {{ scope.row.merchantOrderId }}
-
-
-
-
-
-
- 交易
- {{ scope.row.tradeNo }}
-
-
- 渠道
- {{ scope.row.channelOrderNo }}
-
-
-
-
-
- ¥{{ parseFloat(scope.row.payAmount / 100).toFixed(2) }}
-
-
-
-
- ¥{{ parseFloat(scope.row.refundAmount / 100).toFixed(2) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- {{ parseTime(scope.row.successTime) }}
-
-
-
-
- 查看详情
-
-
-
-
-
-
-
-
-
-
- {{ refundDetail.merchantName }}
- {{ refundDetail.appName }}
- {{ refundDetail.subject }}
-
-
-
-
- {{ refundDetail.merchantRefundNo }}
-
- {{ refundDetail.merchantOrderId }}
- {{ refundDetail.tradeNo }}
-
-
-
-
- {{ parseFloat(refundDetail.payAmount / 100).toFixed(2) }}
-
-
- {{ parseFloat(refundDetail.refundAmount / 100).toFixed(2) }}
-
-
-
-
-
-
-
-
-
- {{ parseTime(refundDetail.createTime) }}
- {{ parseTime(refundDetail.successTime) }}
- {{ parseTime(refundDetail.expireTime) }}
- {{ parseTime(refundDetail.updateTime) }}
-
-
-
-
- {{ refundDetail.channelCodeName }}
-
-
- {{refundDetail.userIp}}
-
- {{ refundDetail.notifyUrl }}
-
-
-
- {{ parseTime(refundDetail.notifyTime) }}
-
-
-
- {{ refundDetail.channelOrderNo }}
- {{ refundDetail.channelRefundNo }}
- {{refundDetail.channelErrorCode}}
- {{refundDetail.channelErrorMsg}}
-
-
-
- {{ refundDetail.channelExtras }}
- {{ refundDetail.reason }}
-
-
-
-
-
-
-
diff --git a/src/websocket/websocket.js b/src/websocket/websocket.js
index 8568b2f5..f3b5eedd 100644
--- a/src/websocket/websocket.js
+++ b/src/websocket/websocket.js
@@ -42,7 +42,7 @@ export function WsConnect(url, agentData, successCallback, errCallback) {
this.lockReconnect = true;
this.wsCreateHandler && clearTimeout(this.wsCreateHandler);
// 关闭心跳检查
- // heartCheck.stop();
+ heartCheck.stop();
}
};
const initWsEventHandle = () => {
@@ -50,13 +50,13 @@ export function WsConnect(url, agentData, successCallback, errCallback) {
// 连接成功
this.wsObj.onopen = (event) => {
onWsOpen(event);
- // heartCheck.start();
+ heartCheck.start();
};
// 监听服务器端返回的信息
this.wsObj.onmessage = (event) => {
onWsMessage(event);
- // heartCheck.start();
+ heartCheck.start();
};
this.wsObj.onclose = (event) => {
@@ -123,7 +123,7 @@ export function WsConnect(url, agentData, successCallback, errCallback) {
if (this.lockReconnect) {
return;
}
- writeToScreen("3秒后重连");
+ writeToScreen("5秒后重连");
this.lockReconnect = true;
// 没连接上会一直重连,设置延迟避免请求过多
this.wsCreateHandler && clearTimeout(this.wsCreateHandler);
@@ -132,10 +132,40 @@ export function WsConnect(url, agentData, successCallback, errCallback) {
this.createWebSoket();
this.lockReconnect = false;
writeToScreen("重连完成");
- }, 3000);
+ }, 5000);
};
- // 心跳检查(看看websocket是否还在正常连接中)
+ // 心跳检查(看看websocket是否还在正常连接中,不需要服务端返回,单向的)
+ let _this = this
+ let heartCheck = {
+ timeout: 55000,
+ timeoutObj: null,
+ // 重启
+ reset() {
+ clearTimeout(this.timeoutObj);
+ this.start();
+ },
+ // 停止
+ stop() {
+ clearTimeout(this.timeoutObj);
+ },
+ // 开启定时器
+ start() {
+ this.timeoutObj && clearTimeout(this.timeoutObj);
+ this.timeoutObj = setTimeout(() => {
+ writeToScreen("心跳检查,发送ping到后台");
+ try {
+ const datas = { ping: true };
+ _this.wsObj.send(JSON.stringify(datas));
+ } catch (err) {
+ writeToScreen("发送ping异常");
+ }
+ }, this.timeout);
+ },
+ };
+
+
+ // 心跳检查(看看websocket是否还在正常连接中,和服务端通信,双向的)
// let heartCheck = {
// timeout: 15000,
// timeoutObj: null,
@@ -160,7 +190,7 @@ export function WsConnect(url, agentData, successCallback, errCallback) {
// writeToScreen("心跳检查,发送ping到后台");
// try {
// const datas = { ping: true };
- // this.wsObj.send(JSON.stringify(datas));
+ // _this.wsObj.send(JSON.stringify(datas));
// } catch (err) {
// writeToScreen("发送ping异常");
// }
diff --git a/src/websocket/wsInterface.js b/src/websocket/wsInterface.js
index 355c39ae..7900f47a 100644
--- a/src/websocket/wsInterface.js
+++ b/src/websocket/wsInterface.js
@@ -6,28 +6,33 @@ import store from "@/store";
const timestr = new Date().getTime()
const dcsConn = new WsConnect(
// websocket地址
- process.env.VUE_APP_Socket_Dcs_API + '/xc-screen/websocket/dcsmsg'+timestr,
+ process.env.VUE_APP_Socket_Dcs_API + '/xc-screen/websocket/dcsmsg' + timestr,
// 传递给后台的数据
'',
(data) => {
// console.log('dcs成功的回调函数, 接收到的data数据: ', data)
- let msgData = JSON.parse(data)
+ let msgData = {}
+ try {
+ msgData = JSON.parse(data)
+ } catch (error) {
+ console.log("websocket: [unable to msgData] : ", data);
+ }
if (msgData == null) return;
switch (msgData?.type) {
case "FanFrequencyInfo": {
- store.dispatch({type: "websocket/setFanFrequencyInfo", payload:msgData.data.FanFrequencyInfo})
+ store.dispatch({ type: "websocket/setFanFrequencyInfo", payload: msgData.data.FanFrequencyInfo })
break;
}
case "KilnInfo": {
- store.dispatch({type: "websocket/setKilnInfo", payload: msgData.data})
+ store.dispatch({ type: "websocket/setKilnInfo", payload: msgData.data })
break;
}
case "GasInfo": {
- store.dispatch({type: "websocket/setGasInfo", payload: msgData.data})
+ store.dispatch({ type: "websocket/setGasInfo", payload: msgData.data })
break;
}
case "SumGasInfo": {
- store.dispatch({type: "websocket/setSumGasInfo", payload: msgData.data})
+ store.dispatch({ type: "websocket/setSumGasInfo", payload: msgData.data })
break;
}
default:
@@ -39,16 +44,20 @@ const dcsConn = new WsConnect(
)
// ISRA
const mesIsra = new WsConnect(
- process.env.VUE_APP_Socket_API + '/websocket/message?userId=KILN'+timestr,
+ process.env.VUE_APP_Socket_API + '/websocket/message?userId=KILN' + timestr,
'',
(data) => {
// console.log('mes ISRA成功的回调函数, 接收到的data数据: ', data)
- let msgData = JSON.parse(data)
- // console.log(msgData)
+ let msgData = {}
+ try {
+ msgData = JSON.parse(data)
+ } catch (error) {
+ console.log("websocket: [unable to msgData] : ", data);
+ }
if (msgData == null) return;
switch (msgData?.type) {
case "israKiln": {
- store.dispatch({type: "websocket/setIsraKiln", payload:msgData.detData.dayStatistic})
+ store.dispatch({ type: "websocket/setIsraKiln", payload: msgData.detData.dayStatistic })
break;
}
default:
@@ -61,15 +70,20 @@ const mesIsra = new WsConnect(
// 原料 MA
const mesMA = new WsConnect(
- process.env.VUE_APP_Socket_API + '/websocket/message?userId=MA'+timestr,
+ process.env.VUE_APP_Socket_API + '/websocket/message?userId=MA' + timestr,
'',
(data) => {
// console.log('mes 原料成功的回调函数, 接收到的data数据: ', data)
- let msgData = JSON.parse(data)
+ let msgData = {}
+ try {
+ msgData = JSON.parse(data)
+ } catch (error) {
+ console.log("websocket: [unable to msgData] : ", data);
+ }
if (msgData == null) return;
switch (msgData?.type) {
case "material": {
- store.dispatch({type: "websocket/setMaterial", payload:msgData.data})
+ store.dispatch({ type: "websocket/setMaterial", payload: msgData.data })
break;
}
default:
@@ -82,25 +96,30 @@ const mesMA = new WsConnect(
// 能耗 EN
const mesEN = new WsConnect(
// websocket地址
- process.env.VUE_APP_Socket_API + '/websocket/message?userId=ENERGY'+timestr,
+ process.env.VUE_APP_Socket_API + '/websocket/message?userId=ENERGY' + timestr,
// 传递给后台的数据
'',
// 成功拿到后台返回的数据的回调函数
(data) => {
// console.log('mes 能耗成功的回调函数, 接收到的data数据: ', data)
- let msgData = JSON.parse(data)
+ let msgData = {}
+ try {
+ msgData = JSON.parse(data)
+ } catch (error) {
+ console.log("websocket: [unable to msgData] : ", data);
+ }
if (msgData == null) return;
switch (msgData?.type) {
case "EnergyInfo": {
- store.dispatch({type: "websocket/setEnergyInfo", payload:msgData.data})
+ store.dispatch({ type: "websocket/setEnergyInfo", payload: msgData.data })
break;
}
case "EnergyTrend": {
- store.dispatch({type: "websocket/setEnergyTrend", payload:msgData.data})
+ store.dispatch({ type: "websocket/setEnergyTrend", payload: msgData.data })
break;
}
case "EnergyMonitoring": {
- store.dispatch({type: "websocket/setEnergyMonitoring", payload:msgData.data})
+ store.dispatch({ type: "websocket/setEnergyMonitoring", payload: msgData.data })
break;
}
default:
@@ -114,23 +133,30 @@ const mesEN = new WsConnect(
// 烟气 GAS
const mesGAS = new WsConnect(
// websocket地址
- process.env.VUE_APP_Socket_API + '/websocket/message?userId=GAS'+timestr,
+ process.env.VUE_APP_Socket_API + '/websocket/message?userId=GAS' + timestr,
// 传递给后台的数据
'',
// 成功拿到后台返回的数据的回调函数
(data) => {
// console.log('mes 烟气成功的回调函数, 接收到的data数据: ', data)
- let msgData = JSON.parse(data)
+ let msgData = {}
+ try {
+ msgData = JSON.parse(data)
+ } catch (error) {
+ console.log("websocket: [unable to msgData] : ", data);
+ }
if (msgData == null) return;
switch (msgData?.type) {
case "exhaustGas": {
- store.dispatch({type: "websocket/setExhaustGasInfo", payload:msgData.realtime})
- store.dispatch({type: "websocket/setExhaustGasChart", payload:{
- dayTrend: msgData.dayTrend,
- weekTrend: msgData.weekTrend,
- monthTrend: msgData.monthTrend,
- yearTrend: msgData.yearTrend,
- }})
+ store.dispatch({ type: "websocket/setExhaustGasInfo", payload: msgData.realtime })
+ store.dispatch({
+ type: "websocket/setExhaustGasChart", payload: {
+ dayTrend: msgData.dayTrend,
+ weekTrend: msgData.weekTrend,
+ monthTrend: msgData.monthTrend,
+ yearTrend: msgData.yearTrend,
+ }
+ })
break;
}
default:
@@ -145,23 +171,30 @@ const mesGAS = new WsConnect(
// 缺陷分类/统计 IS
const mesIS = new WsConnect(
// websocket地址
- process.env.VUE_APP_Socket_API + '/websocket/message?userId=IS'+timestr,
+ process.env.VUE_APP_Socket_API + '/websocket/message?userId=IS' + timestr,
// 传递给后台的数据
'',
// 成功拿到后台返回的数据的回调函数
(data) => {
// console.log('mes 缺陷成功的回调函数, 接收到的data数据: ', data)
- let msgData = JSON.parse(data)
+ let msgData = {}
+ try {
+ msgData = JSON.parse(data)
+ } catch (error) {
+ console.log("websocket: [unable to msgData] : ", data);
+ }
if (msgData == null) return;
switch (msgData?.type) {
case "isra": {
- store.dispatch({type: "websocket/setDefectChart", payload:{
- checkType: msgData.detData.checkType,
- dayStatistic: msgData.detData.dayStatistic,
- weekStatistic: msgData.detData.weekStatistic,
- monthStatistic: msgData.detData.monthStatistic,
- yearStatistic: msgData.detData.yearStatistic,
- }})
+ store.dispatch({
+ type: "websocket/setDefectChart", payload: {
+ checkType: msgData.detData.checkType,
+ dayStatistic: msgData.detData.dayStatistic,
+ weekStatistic: msgData.detData.weekStatistic,
+ monthStatistic: msgData.detData.monthStatistic,
+ yearStatistic: msgData.detData.yearStatistic,
+ }
+ })
break;
}
default:
@@ -176,29 +209,34 @@ const mesIS = new WsConnect(
// 深加工生产运行驾驶舱(除能源) SJG
const mesSJG = new WsConnect(
// websocket地址
- process.env.VUE_APP_Socket_API + '/websocket/message?userId=SJG'+timestr,
+ process.env.VUE_APP_Socket_API + '/websocket/message?userId=SJG' + timestr,
// 传递给后台的数据
'',
// 成功拿到后台返回的数据的回调函数
(data) => {
// console.log('mes 产线产量及良品率成功的回调函数, 接收到的data数据: ', data)
- let msgData = JSON.parse(data)
+ let msgData = {}
+ try {
+ msgData = JSON.parse(data)
+ } catch (error) {
+ console.log("websocket: [unable to msgData] : ", data);
+ }
if (msgData == null) return;
switch (msgData?.type) {
case "productline": {
- store.dispatch({type: "websocket/setProductline", payload:msgData.detData})
+ store.dispatch({ type: "websocket/setProductline", payload: msgData.detData })
break;
}
case "equipment": {
- store.dispatch({type: "websocket/setSJGEq", payload:msgData.detData})
+ store.dispatch({ type: "websocket/setSJGEq", payload: msgData.detData })
break;
}
case "order": {
- store.dispatch({type: "websocket/setWorkOrder", payload:msgData.detData})
+ store.dispatch({ type: "websocket/setWorkOrder", payload: msgData.detData })
break;
}
case "defectSum": {
- store.dispatch({type: "websocket/setDefectSum", payload:msgData.detData})
+ store.dispatch({ type: "websocket/setDefectSum", payload: msgData.detData })
break;
}
default:
@@ -213,18 +251,23 @@ const mesSJG = new WsConnect(
// 订单完成情况 OV
const mesOV = new WsConnect(
// websocket地址
- process.env.VUE_APP_Socket_API + '/websocket/message?userId=OV'+timestr,
+ process.env.VUE_APP_Socket_API + '/websocket/message?userId=OV' + timestr,
// 'ws://192.168.0.33:48082/websocket/message?userId=OV'+timestr,
// 传递给后台的数据
'',
// 成功拿到后台返回的数据的回调函数
(data) => {
// console.log('mes 产线产量及良品率成功的回调函数, 接收到的data数据: ', data)
- let msgData = JSON.parse(data)
+ let msgData = {}
+ try {
+ msgData = JSON.parse(data)
+ } catch (error) {
+ console.log("websocket: [unable to msgData] : ", data);
+ }
if (msgData == null) return;
switch (msgData?.type) {
case "order": {
- store.dispatch({type: "websocket/setOrder", payload:msgData.detData})
+ store.dispatch({ type: "websocket/setOrder", payload: msgData.detData })
break;
}
default:
@@ -239,35 +282,39 @@ const mesOV = new WsConnect(
// 本日生产良品率 CUTTING
const mesCUTTING = new WsConnect(
// websocket地址
- process.env.VUE_APP_Socket_API + '/websocket/message?userId=CUTTING'+timestr,
+ process.env.VUE_APP_Socket_API + '/websocket/message?userId=CUTTING' + timestr,
// 传递给后台的数据
'',
// 成功拿到后台返回的数据的回调函数
(data) => {
// console.log('mes 产线产量及良品率成功的回调函数, 接收到的data数据: ', data)
- let msgData = JSON.parse(data)
+ let msgData = {}
+ try {
+ msgData = JSON.parse(data)
+ } catch (error) {
+ console.log("websocket: [unable to msgData] : ", data);
+ }
if (msgData == null) return;
- console.log(msgData)
switch (msgData?.type) {
case "cutting": {
if (msgData?.name === 'table') {
- store.dispatch({type: "websocket/setYieldRateTable", payload:msgData.data})
+ store.dispatch({ type: "websocket/setYieldRateTable", payload: msgData.data })
return
}
if (msgData?.dateType === 'day') {
- store.dispatch({type: "websocket/setCutChartDay", payload:msgData.detData})
+ store.dispatch({ type: "websocket/setCutChartDay", payload: msgData.detData })
return
}
if (msgData?.dateType === 'weekly') {
- store.dispatch({type: "websocket/setCutChartWeek", payload:msgData.detData})
+ store.dispatch({ type: "websocket/setCutChartWeek", payload: msgData.detData })
return
}
if (msgData?.dateType === 'month') {
- store.dispatch({type: "websocket/setCutChartMonth", payload:msgData.detData})
+ store.dispatch({ type: "websocket/setCutChartMonth", payload: msgData.detData })
return
}
if (msgData?.dateType === 'year') {
- store.dispatch({type: "websocket/setCutChartYear", payload:msgData.detData})
+ store.dispatch({ type: "websocket/setCutChartYear", payload: msgData.detData })
return
}
break;