diff --git a/.env.dev b/.env.dev
index 40051292..574a759f 100644
--- a/.env.dev
+++ b/.env.dev
@@ -12,9 +12,9 @@ ENV = 'development'
VUE_APP_TITLE = 产线监控系统
# 芋道管理系统/开发环境
-VUE_APP_BASE_API = 'http://192.168.1.49:48080'
+# VUE_APP_BASE_API = 'http://192.168.1.49:48080'
# VUE_APP_BASE_API = 'http://192.168.1.8:48080'
-# VUE_APP_BASE_API = 'http://192.168.0.33:48080'
+VUE_APP_BASE_API = 'http://192.168.0.33:48080'
# VUE_APP_BASE_API = 'http://192.168.1.188:48080'
# 路由懒加载
diff --git a/src/views/core/base/equipment/components/AssetsUpload.vue b/src/views/core/base/equipment/components/AssetsUpload.vue
index c6453eac..c6d410e5 100644
--- a/src/views/core/base/equipment/components/AssetsUpload.vue
+++ b/src/views/core/base/equipment/components/AssetsUpload.vue
@@ -13,21 +13,31 @@
展开
-
+
-
+
将文件拖到此处或
点击上传
-
- some tips....
+ {{
+ isPicMode ? '仅支持上传 .jpg .png 格式文件, 且' : ''
+ }}文件大小不超过2MB
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/core/base/equipment/index.vue b/src/views/core/base/equipment/index.vue
index 6ec5e6ae..16c881d8 100644
--- a/src/views/core/base/equipment/index.vue
+++ b/src/views/core/base/equipment/index.vue
@@ -53,6 +53,7 @@
v-if="editVisible"
ref="drawer"
:mode="editMode"
+ @update-mode="editMode = $event"
:data-id="form.id"
:sections="[
{
@@ -462,6 +463,8 @@ export default {
label: '上传资料',
fieldName: 'assets',
subcomponent: AssetsUpload,
+ prop: 'uploadedAssets',
+ default: [],
bind: {
'is-pic-mode': false,
},
@@ -474,6 +477,8 @@ export default {
label: '上传图片',
fieldName: 'images',
subcomponent: AssetsUpload,
+ // prop: '',
+ // default: [],
bind: {
'is-pic-mode': true,
},