diff --git a/.env.dev b/.env.dev
index 9e1d10f4..a9d58fdc 100644
--- a/.env.dev
+++ b/.env.dev
@@ -5,8 +5,9 @@ ENV = 'development'
VUE_APP_TITLE = 芋道管理系统
# 芋道管理系统/开发环境
+VUE_APP_BASE_API = 'http://192.168.1.49:48080'
# VUE_APP_BASE_API = 'http://192.168.0.33:48080'
-VUE_APP_BASE_API = 'http://192.168.1.188:48080'
+# VUE_APP_BASE_API = 'http://192.168.1.188:48080'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
diff --git a/src/components/DialogForm/index.vue b/src/components/DialogForm/index.vue
index 7dc2315f..9b78ee4a 100644
--- a/src/components/DialogForm/index.vue
+++ b/src/components/DialogForm/index.vue
@@ -57,6 +57,11 @@
{{ col.uploadTips || '只能上传jpg/png文件,大小不超过2MB' }}
+
@@ -222,7 +227,7 @@ export default {
getFileName(fileUrl) {
return fileUrl.split('/').pop();
- }
+ },
},
};
diff --git a/src/views/core/base/equipment/assets/eq1.jpg b/src/views/core/base/equipment/assets/eq1.jpg
new file mode 100644
index 00000000..e62db64c
Binary files /dev/null and b/src/views/core/base/equipment/assets/eq1.jpg differ
diff --git a/src/views/core/base/equipment/assets/eq10.jpg b/src/views/core/base/equipment/assets/eq10.jpg
new file mode 100644
index 00000000..1f738260
Binary files /dev/null and b/src/views/core/base/equipment/assets/eq10.jpg differ
diff --git a/src/views/core/base/equipment/assets/eq2.jpg b/src/views/core/base/equipment/assets/eq2.jpg
new file mode 100644
index 00000000..7ca5dcc1
Binary files /dev/null and b/src/views/core/base/equipment/assets/eq2.jpg differ
diff --git a/src/views/core/base/equipment/assets/eq3.jpg b/src/views/core/base/equipment/assets/eq3.jpg
new file mode 100644
index 00000000..45f23067
Binary files /dev/null and b/src/views/core/base/equipment/assets/eq3.jpg differ
diff --git a/src/views/core/base/equipment/assets/eq4.jpg b/src/views/core/base/equipment/assets/eq4.jpg
new file mode 100644
index 00000000..51476968
Binary files /dev/null and b/src/views/core/base/equipment/assets/eq4.jpg differ
diff --git a/src/views/core/base/equipment/assets/eq5.jpg b/src/views/core/base/equipment/assets/eq5.jpg
new file mode 100644
index 00000000..8e536163
Binary files /dev/null and b/src/views/core/base/equipment/assets/eq5.jpg differ
diff --git a/src/views/core/base/equipment/assets/eq6.jpg b/src/views/core/base/equipment/assets/eq6.jpg
new file mode 100644
index 00000000..256ec18e
Binary files /dev/null and b/src/views/core/base/equipment/assets/eq6.jpg differ
diff --git a/src/views/core/base/equipment/assets/eq7.jpg b/src/views/core/base/equipment/assets/eq7.jpg
new file mode 100644
index 00000000..3fae2905
Binary files /dev/null and b/src/views/core/base/equipment/assets/eq7.jpg differ
diff --git a/src/views/core/base/equipment/assets/eq8.jpg b/src/views/core/base/equipment/assets/eq8.jpg
new file mode 100644
index 00000000..ff3c2c39
Binary files /dev/null and b/src/views/core/base/equipment/assets/eq8.jpg differ
diff --git a/src/views/core/base/equipment/assets/eq9.jpg b/src/views/core/base/equipment/assets/eq9.jpg
new file mode 100644
index 00000000..93754f39
Binary files /dev/null and b/src/views/core/base/equipment/assets/eq9.jpg differ
diff --git a/src/views/core/base/equipment/components/EquipmentPics.vue b/src/views/core/base/equipment/components/EquipmentPics.vue
new file mode 100644
index 00000000..a047242e
--- /dev/null
+++ b/src/views/core/base/equipment/components/EquipmentPics.vue
@@ -0,0 +1,33 @@
+
+
+
+
+ hhh
+
+
+
+
+
+
diff --git a/src/views/core/base/equipment/index.vue b/src/views/core/base/equipment/index.vue
index 6b31fe78..73aec659 100644
--- a/src/views/core/base/equipment/index.vue
+++ b/src/views/core/base/equipment/index.vue
@@ -38,85 +38,6 @@
@confirm="submitForm">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -124,6 +45,7 @@
import moment from 'moment';
import basicPageMixin from '@/mixins/lb/basicPageMixin';
import { getAccessToken } from '@/utils/auth';
+import EquipmentPics from './components/EquipmentPics';
import {
createEquipment,
@@ -281,12 +203,13 @@ export default {
prop: 'equipmentTypeId',
url: '/base/equipment-type/page?pageNo=1&pageSize=100',
},
- {
- select: true,
- label: '设备分组',
- prop: 'groupId',
- url: '/base/equipment-group/page?pageNo=1&pageSize=100',
- },
+ // {
+ // select: true,
+ // label: '设备分组',
+ // prop: 'groupId',
+ // url: '/base/equipment-group/page?pageNo=1&pageSize=100',
+ // },
+ { input: true, label: '备注', prop: 'remark' },
],
[
{
@@ -303,6 +226,7 @@ export default {
[
{
select: true,
+ prop: 'tvalue',
label: '设备TT值',
rules: [
{ required: true, message: '不能为空', trigger: 'blur' },
@@ -313,11 +237,10 @@ export default {
transform: (val) => Number(val),
},
],
- prop: 'tvalue',
},
{
select: true,
- label: '单件产品加工时间',
+ label: '产品加工时间',
prop: 'processingTime',
rules: [
{
@@ -365,16 +288,19 @@ export default {
[
{
diy: true,
+ key: 'eq-assets',
label: '设备资料',
prop: 'fileNames',
},
],
- [{ input: true, label: '备注', prop: 'remark' }],
[
{
diy: true,
+ key: 'eq-pics',
label: '设备图片',
prop: 'fileUrls',
+ subcomponent: EquipmentPics,
+ style: 'overflow-x: auto;'
},
],
],
@@ -384,9 +310,8 @@ export default {
queryParams: {
pageNo: 1,
pageSize: 10,
- code: null,
- name: null,
- createTime: [],
+ code: '',
+ name: '',
},
// 表单参数
form: {},
diff --git a/src/views/core/base/equipmentType/index.vue b/src/views/core/base/equipmentType/index.vue
index 048418a0..8790f426 100644
--- a/src/views/core/base/equipmentType/index.vue
+++ b/src/views/core/base/equipmentType/index.vue
@@ -167,7 +167,7 @@ export default {
queryParams: {
pageNo: 1,
pageSize: 10,
- name: null,
+ name: '',
},
// 表单参数
form: {},