From f2f3a9e850136eebf1b1613bd7451ba03a0692ef Mon Sep 17 00:00:00 2001 From: lb Date: Mon, 11 Sep 2023 15:24:11 +0800 Subject: [PATCH 1/5] =?UTF-8?q?update=20=E8=AE=BE=E5=A4=87=E5=85=A8?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../monitoring/equipmentFullParams/index.vue | 105 +++++++----------- yarn.lock | 58 ++++++++++ 2 files changed, 98 insertions(+), 65 deletions(-) diff --git a/src/views/monitoring/equipmentFullParams/index.vue b/src/views/monitoring/equipmentFullParams/index.vue index ef2c84b8..5c2e99a3 100644 --- a/src/views/monitoring/equipmentFullParams/index.vue +++ b/src/views/monitoring/equipmentFullParams/index.vue @@ -12,31 +12,7 @@ ref="search-bar" @headBtnClick="handleSearchBarBtnClick" /> - - -
+
- -
+
暂无数据
+ + diff --git a/src/views/base/equipmentBindSection/index.vue b/src/views/base/equipmentBindSection/index.vue index cd653693..a18dd588 100644 --- a/src/views/base/equipmentBindSection/index.vue +++ b/src/views/base/equipmentBindSection/index.vue @@ -53,10 +53,10 @@ import { } from '@/api/base/equipmentBindSection'; import moment from 'moment'; import basicPageMixin from '@/mixins/lb/basicPageMixin'; - +import DialogForm from './dialogForm.vue'; export default { name: 'EquipmentBindSection', - components: {}, + components: { DialogForm }, mixins: [basicPageMixin], data() { return { @@ -181,8 +181,8 @@ export default { select: true, label: '工段', url: '/base/workshop-section/listByParentId', // 根据产线获取 - // depends: '__product_line', // 依赖产线获取数据 - depends: 'productionLineId', + // depends: '__product_line', // 依赖产线获取数据 + depends: 'productionLineId', prop: 'workshopSectionId', rules: [{ required: true, message: '不能为空', trigger: 'blur' }], }, From 529889fd074a72751afd354796826c2a306ebe72 Mon Sep 17 00:00:00 2001 From: lb Date: Tue, 12 Sep 2023 11:09:51 +0800 Subject: [PATCH 3/5] =?UTF-8?q?update=20=E5=B7=A5=E6=AE=B5=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=BB=91=E5=AE=9A=20dialogForm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/equipmentBindSection/dialogForm.vue | 58 +++++++++---------- src/views/base/equipmentBindSection/index.vue | 2 +- 2 files changed, 28 insertions(+), 32 deletions(-) diff --git a/src/views/base/equipmentBindSection/dialogForm.vue b/src/views/base/equipmentBindSection/dialogForm.vue index 089fea6c..91645365 100644 --- a/src/views/base/equipmentBindSection/dialogForm.vue +++ b/src/views/base/equipmentBindSection/dialogForm.vue @@ -6,7 +6,11 @@ --> From b17bc0e1629541ff733ca2c1392e7a6a47ab7d18 Mon Sep 17 00:00:00 2001 From: lb Date: Tue, 12 Sep 2023 11:12:05 +0800 Subject: [PATCH 4/5] update build:prod PUBLIC_PATH --- .env.prod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.env.prod b/.env.prod index a1415ed3..4c6133c8 100644 --- a/.env.prod +++ b/.env.prod @@ -8,7 +8,9 @@ VUE_APP_TITLE = 芋道管理系统 VUE_APP_BASE_API = '/prod-api' # 根据服务器或域名修改 -PUBLIC_PATH = 'http://my-pi.com:8888/yudao-admin/' +# PUBLIC_PATH = 'http://my-pi.com:8888/yudao-admin/' +PUBLIC_PATH = 'http://192.168.0.33:8888/' + # 二级部署路径 VUE_APP_APP_NAME ='yudao-admin' From f341ec7b3012939da2af368a0a7e647e3ddb8911 Mon Sep 17 00:00:00 2001 From: lb Date: Wed, 13 Sep 2023 12:24:52 +0800 Subject: [PATCH 5/5] update router mode --- src/router/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.js b/src/router/index.js index 1d64f59b..ca26742b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -247,7 +247,7 @@ Router.prototype.push = function push(location) { export default new Router({ base: process.env.VUE_APP_APP_NAME ? process.env.VUE_APP_APP_NAME : "/", - mode: 'history', // 去掉url中的# + mode: 'hash', // 去掉url中的# scrollBehavior: () => ({y: 0}), routes: constantRoutes })