From 8f634d012c4aed8c978f4fd201ef70b6c0cb67db Mon Sep 17 00:00:00 2001 From: lb Date: Thu, 12 Oct 2023 11:08:51 +0800 Subject: [PATCH 1/5] bugfix zentao --- src/components/DialogForm/index.vue | 12 +- .../components/BasicDrawer.vue | 4 +- .../equipment/components/EquipmentDrawer.vue | 82 +-- src/views/core/base/equipment/index.vue | 26 +- src/views/core/base/equipmentType/index.vue | 2 +- .../timing-diagram/components/gantt.js | 191 ------- .../equipment/timing-diagram/output/index.vue | 2 +- .../equipment/timing-diagram/status/demo.html | 497 ------------------ 8 files changed, 76 insertions(+), 740 deletions(-) delete mode 100644 src/views/equipment/timing-diagram/components/gantt.js delete mode 100644 src/views/equipment/timing-diagram/status/demo.html diff --git a/src/components/DialogForm/index.vue b/src/components/DialogForm/index.vue index a290ce95..e55394de 100644 --- a/src/components/DialogForm/index.vue +++ b/src/components/DialogForm/index.vue @@ -10,6 +10,8 @@ ref="form" :model="form" :label-width="`${labelWidth}px`" + :size="size" + :label-position="labelPosition" v-loading="formLoading"> @@ -119,7 +121,15 @@ export default { disabled: { type: Boolean, default: false, - } + }, + labelPosition: { + type: String, + default: 'right', + }, + size: { + type: String, + default: '', + }, }, data() { return { diff --git a/src/views/base/equipmentPlcConnect/components/BasicDrawer.vue b/src/views/base/equipmentPlcConnect/components/BasicDrawer.vue index 740f6b71..ddb8ce35 100644 --- a/src/views/base/equipmentPlcConnect/components/BasicDrawer.vue +++ b/src/views/base/equipmentPlcConnect/components/BasicDrawer.vue @@ -151,7 +151,7 @@ export default { name: '', plcParamName: '', unit: '', - collection: '', + collection: 1, minValue: '', maxValue: '', defaultValue: '', @@ -370,7 +370,7 @@ export default { name: '', plcParamName: '', unit: '', - collection: '', + collection: 1, minValue: '', maxValue: '', defaultValue: '', diff --git a/src/views/core/base/equipment/components/EquipmentDrawer.vue b/src/views/core/base/equipment/components/EquipmentDrawer.vue index 445ac334..bd418137 100644 --- a/src/views/core/base/equipment/components/EquipmentDrawer.vue +++ b/src/views/core/base/equipment/components/EquipmentDrawer.vue @@ -35,6 +35,7 @@ key="drawer-dialog-form" v-if="showForm" ref="form" + label-position="top" :dataForm="form" :rows="formRows" /> @@ -46,6 +47,8 @@ :page="section.pageNo || 1" :limit="section.pageSize || 10" :table-data="list" + :add-button-show="mode.includes('detail') ? null : '添加属性'" + @emitButtonClick="handleAddAttr" @emitFun="handleEmitFun"> @@ -177,13 +176,14 @@ export default { ...col, style: { left: 0, - right: 'unset' - } - } + right: 'unset', + }, + }; } return { ...col, bind: { + ...col.bind, // 详情 模式下,禁用各种输入 disabled: this.mode == 'detail', }, @@ -210,7 +210,6 @@ export default { this.form = data; this.showForm = true; this.infoQuery = query; - console.log('setting form: ', this.form, data); } else if (section.key == 'attrs') { this.attrQuery = query; this.list = data.list; @@ -331,33 +330,44 @@ export default { }, // 提交属性表 - async submitAttrForm() { - this.$refs['attrForm'].validate((valid) => { + submitAttrForm() { + this.$refs['attrForm'].validate(async (valid) => { if (!valid) { return; } - }); - console.log('this.attrform', this.attrForm); - const isEdit = this.attrForm.id != null; - this.attrFormSubmitting = true; - const res = await this.$axios({ - url: isEdit ? this.sections[1].urlUpdate : this.sections[1].urlCreate, - method: isEdit ? 'put' : 'post', - data: this.attrForm, - }); - if (res.code == 0) { - this.closeAttrForm(); - this.$message({ - message: `${isEdit ? '更新' : '创建'}成功`, - type: 'success', - duration: 1500, - onClose: () => { - this.getAttrList(); - }, - }); - } - this.attrFormSubmitting = false; + try { + const isEdit = this.attrForm.id != null; + this.attrFormSubmitting = true; + const res = await this.$axios({ + url: isEdit + ? this.sections[1].urlUpdate + : this.sections[1].urlCreate, + method: isEdit ? 'put' : 'post', + data: this.attrForm, + }); + + if (res.code == 0) { + this.closeAttrForm(); + this.$message({ + message: `${isEdit ? '更新' : '创建'}成功`, + type: 'success', + duration: 1500, + onClose: () => { + this.getAttrList(); + }, + }); + } + this.attrFormSubmitting = false; + } catch (err) { + this.$message({ + message: err, + type: 'error', + duration: 1500, + }); + this.attrFormSubmitting = false; + } + }); }, closeAttrForm() { diff --git a/src/views/core/base/equipment/index.vue b/src/views/core/base/equipment/index.vue index 37aaaac1..4c5b32cd 100644 --- a/src/views/core/base/equipment/index.vue +++ b/src/views/core/base/equipment/index.vue @@ -36,11 +36,14 @@ :dialogVisible="open" @close="cancel" @cancel="cancel" + width="60%" @confirm="submitForm"> @@ -155,7 +158,7 @@ export default { filter: (val) => moment(val).format('yyyy-MM-DD HH:mm:ss'), }, { prop: 'name', label: '设备名称' }, - { width: 256, prop: 'code', label: '检测编码' }, + { width: 256, prop: 'code', label: '设备编码' }, { prop: 'equipmentType', label: '设备类型' }, { prop: 'enName', label: '英文名称' }, { prop: 'abbr', label: '缩写' }, @@ -239,8 +242,6 @@ export default { prop: 'code', url: '/base/equipment/getCode', }, - ], - [ { input: true, label: '英文名称', @@ -250,6 +251,8 @@ export default { // disabled: true, // some condition, like detail mode... // } }, + ], + [ { input: true, label: '缩写', @@ -259,13 +262,15 @@ export default { // disabled: true, // some condition, like detail mode... // } }, - ], - [ + { select: true, label: '设备类型', prop: 'equipmentTypeId', url: '/base/equipment-type/page?pageNo=1&pageSize=100', + bind: { + filterable: true, + }, }, // { // select: true, @@ -286,8 +291,6 @@ export default { label: '进厂日期', prop: 'enterTime', }, - ], - [ { input: true, prop: 'tvalue', @@ -302,11 +305,14 @@ export default { }, ], }, + ], + [ { input: true, - label: '产品加工时间', + label: '产品加工时间(s)', prop: 'processingTime', rules: [ + { required: true, message: '不能为空', trigger: 'blur' }, { type: 'number', message: '请输入正确的数字值', @@ -315,8 +321,7 @@ export default { }, ], }, - ], - [ + { input: true, label: '制造商', @@ -524,7 +529,6 @@ export default { }, // overwrite basicPageMixin 里的 处理表格按钮 方法 handleTableBtnClick({ data, type }) { - console.log('[handleTableBtnClick]', data, type); switch (type) { case 'edit': this.reset(); diff --git a/src/views/core/base/equipmentType/index.vue b/src/views/core/base/equipmentType/index.vue index 70633ce6..14297f79 100644 --- a/src/views/core/base/equipmentType/index.vue +++ b/src/views/core/base/equipmentType/index.vue @@ -267,7 +267,7 @@ export default { handleDelete(row) { const id = row.id; this.$modal - .confirm('是否确认删除设备类型编号为"' + id + '"的数据项?') + .confirm('是否确认删除设备类型"' + row.name + '"?') .then(function () { return deleteEquipmentType(id); }) diff --git a/src/views/equipment/timing-diagram/components/gantt.js b/src/views/equipment/timing-diagram/components/gantt.js deleted file mode 100644 index fcbc6fba..00000000 --- a/src/views/equipment/timing-diagram/components/gantt.js +++ /dev/null @@ -1,191 +0,0 @@ - -// filename: gantt.vue -// author: liubin -// date: 2023 -09 - 25 14: 28: 12 -// description: 甘特图 - - -import * as echarts from 'echarts'; - -/** - * - * @param {*} params - * @param {*} api - * - * https://echarts.apache.org/zh/option.html#series-custom.renderItem.arguments.params - */ -function renderItem(params, api) { } - -export default class Gantt { - constructor(el) { - this.chart = echarts.init(el); - let options = { - series: [ - { - type: 'custom', - coordinateSystem: 'cartesian2d', - renderItem: renderItem, - } - ] - } - this.chart.setOption(options); - } - - update(options) { - this.chart.setOption(options); - } - - resize() { - // todo - } - - destroy() { - this.chart.dispose(); - } -} - - - -var data = []; -var categories = ['设备1', '设备2', '设备3']; -var types = [ - { name: '运行', color: '#7b9ce1' }, - { name: '故障', color: '#bd6d6c' }, - { name: '停机', color: '#75d874' }, -]; -// return new Date(new Date(timestamp).toLocaleDateString()).getTime() -// })(1691568181000)) -function getStartTime(timestamp) { - return new Date(new Date(timestamp).toLocaleDateString()).getTime() -} - - -data.push({ - name: 'running', - value: [0, 1691568181000, 1691568181000 + 60 * 60 * 1000, 60], - itemStyle: { - normal: { - color: types[0].color - } - } -}) - - - -function renderItem(params, api) { - var categoryIndex = api.value(0); - var start = api.coord([api.value(1), categoryIndex]); - var end = api.coord([api.value(2), categoryIndex]); - var height = api.size([0, 1])[1] * 0.8; - var rectShape = echarts.graphic.clipRectByRect( - { - x: start[0], - y: start[1] - height / 2, - width: end[0] - start[0], - height: height - }, - { - x: params.coordSys.x, - y: params.coordSys.y, - width: params.coordSys.width, - height: params.coordSys.height - } - ); - return ( - rectShape && { - type: 'rect', - transition: ['shape'], - shape: rectShape, - style: api.style() - } - ); -} - -option = { - tooltip: { - // show: false, - formatter: function (params) { - return params.marker + params.name + ': ' + new Date(params.value[1]).toLocaleTimeString() + ' - ' + new Date(params.value[2]).toLocaleTimeString(); - } - }, - // title: { - // text: 'Profile', - // left: 'center' - // }, - // dataZoom: [ - // { - // type: 'slider', - // filterMode: 'weakFilter', - // showDataShadow: false, - // top: 400, - // labelFormatter: '' - // }, - // { - // type: 'inside', - // filterMode: 'weakFilter' - // } - // ], - grid: { - height: 300 - }, - xAxis: { - type: 'time', - min: getStartTime(1691568181000), - max: getStartTime(1691568181000 + 3600 * 24 * 1000), - splitNumber: 10, - // interval: 60*3600*1000, - // scale: true, - axisLabel: { - // rotate: -15, - formatter: function (val) { - return new Date(val).toLocaleTimeString() - } - }, - axisTick: { - show: true - }, - splitLine: { - show: false, - } - }, - yAxis: [{ - axisLine: { - // show: false, - lineStyle: { - color: '' - } - }, - axisLabel: { - fontSize: 14, - }, - axisTick: { - show: false, - }, - splitLine: { - show: true - }, - data: categories - }, { - axisLine: { - // show: false, - lineStyle: { - color: '' - } - }, - data: [] - }], - series: [ - { - type: 'custom', - renderItem: renderItem, - itemStyle: { - opacity: 0.8 - }, - encode: { - x: [1, 2], - y: 0 - }, - data: data - } - ] -}; \ No newline at end of file diff --git a/src/views/equipment/timing-diagram/output/index.vue b/src/views/equipment/timing-diagram/output/index.vue index 829bf109..d1a495ae 100644 --- a/src/views/equipment/timing-diagram/output/index.vue +++ b/src/views/equipment/timing-diagram/output/index.vue @@ -74,7 +74,7 @@ - - - - \ No newline at end of file -- 2.45.2 From 7acccd3de021721329f11fcfb4c817ee12be5c95 Mon Sep 17 00:00:00 2001 From: lb Date: Thu, 12 Oct 2023 15:40:05 +0800 Subject: [PATCH 2/5] bugfix zentao --- src/api/core/base/lineBindProductLog.js | 6 +- .../equipment/components/EquipmentDrawer.vue | 19 ++- src/views/core/base/equipmentType/index.vue | 22 ++- .../core/base/lineBindProductLog/index.vue | 5 +- src/views/core/base/product/add-or-updata.vue | 77 +++++---- .../base/productionLine/add-or-updata.vue | 146 +++++++++++------- src/views/core/base/productionLine/index.vue | 2 +- .../equipment/analysis/quality/index.vue | 21 ++- 8 files changed, 201 insertions(+), 97 deletions(-) diff --git a/src/api/core/base/lineBindProductLog.js b/src/api/core/base/lineBindProductLog.js index 5d402106..baf4655d 100644 --- a/src/api/core/base/lineBindProductLog.js +++ b/src/api/core/base/lineBindProductLog.js @@ -35,11 +35,11 @@ export function getLineBindProductLog(id) { } // 获得产线目前生产产品表 主要为更新分页 -export function getLineBindProductLogPage(query) { +export function getLineBindProductLogPage(data) { return request({ url: '/base/line-bind-product-log/page', - method: 'get', - params: query + method: 'post', + data }) } diff --git a/src/views/core/base/equipment/components/EquipmentDrawer.vue b/src/views/core/base/equipment/components/EquipmentDrawer.vue index bd418137..16221ddf 100644 --- a/src/views/core/base/equipment/components/EquipmentDrawer.vue +++ b/src/views/core/base/equipment/components/EquipmentDrawer.vue @@ -44,8 +44,8 @@ + + + @@ -160,7 +168,12 @@ export default { }, ], ], - attrQuery: null, // 属性列表的请求 + attrQuery: { + params: { + pageNo: 1, + pageSize: 10, + }, + }, // 属性列表的请求 infoQuery: null, // 基本信息的请求 attrFormSubmitting: false, attrListLoading: false, diff --git a/src/views/core/base/equipmentType/index.vue b/src/views/core/base/equipmentType/index.vue index 14297f79..6fa94502 100644 --- a/src/views/core/base/equipmentType/index.vue +++ b/src/views/core/base/equipmentType/index.vue @@ -38,6 +38,21 @@ @cancel="cancel" @confirm="submitForm"> +
+

文件列表

+
+
    +
  • + {{ JSON.stringify(item) }} +
  • +
+
+
    +
  • + {{ JSON.stringify(item) }} +
  • +
+
@@ -86,9 +101,9 @@ export default { width: 180, filter: (val) => moment(val).format('yyyy-MM-DD HH:mm:ss'), }, - { prop: 'name', label: '设备类型名称', }, - { prop: 'code', label: '检测类型编码', }, - { prop: 'remark', label: '备注', }, + { prop: 'name', label: '设备类型名称' }, + { prop: 'code', label: '检测类型编码' }, + { prop: 'remark', label: '备注' }, ], searchBarFormConfig: [ { @@ -236,6 +251,7 @@ export default { const id = row.id; getEquipmentType(id).then((response) => { this.form = response.data; + debugger; this.open = true; this.title = '修改设备类型'; }); diff --git a/src/views/core/base/lineBindProductLog/index.vue b/src/views/core/base/lineBindProductLog/index.vue index 1569ba98..50ec8e33 100644 --- a/src/views/core/base/lineBindProductLog/index.vue +++ b/src/views/core/base/lineBindProductLog/index.vue @@ -86,7 +86,8 @@ export default { rangeSeparator: '-', startPlaceholder: '开始时间', endPlaceholder: '结束时间', - param: 'createTime', + param: 'startTime', + valueFormat: 'timestamp' }, { type: 'button', @@ -126,7 +127,7 @@ export default { this.listQuery.pageSize = 10; this.listQuery.productionLineId = val.productionLineId; this.listQuery.productId = val.productId; - this.listQuery.createTime = val.createTime; + this.listQuery.startTime = val.startTime; this.getDataList(); break; case 'reset': diff --git a/src/views/core/base/product/add-or-updata.vue b/src/views/core/base/product/add-or-updata.vue index 9989a25f..eb5b51b1 100644 --- a/src/views/core/base/product/add-or-updata.vue +++ b/src/views/core/base/product/add-or-updata.vue @@ -43,7 +43,7 @@ + v-model="dataForm.area" + placeholder="请输入单位平方数" />
@@ -111,6 +111,8 @@ :table-props="tableProps" :page="listQuery.pageNo" :limit="listQuery.pageSize" + :add-button-show="isdetail ? null : '添加属性'" + @emitButtonClick="addNew()" :table-data="productAttributeList"> -
+ + + Float(val)', - // }, + { + type: 'number', + message: '请输入正确的数值', + trigger: 'change', + transform: (val) => Number(val), + }, ], processTime: [ { @@ -263,12 +273,12 @@ export default { message: '完成单位产品用时不能为空', trigger: 'blur', }, - // { - // type: 'number', - // message: '完成单位产品用时为浮点类型', - // trigger: 'blur', - // transfom: 'val => Number(val)', - // }, + { + type: 'number', + message: '请输入正确的数值', + trigger: 'blur', + transform: (val) => Number(val), + }, ], }, isdetail: false, @@ -277,6 +287,7 @@ export default { methods: { initData() { this.productAttributeList.splice(0); + this.listQuery.total = 0; }, init(id, isdetail) { this.initData(); @@ -304,12 +315,10 @@ export default { getList() { // 获取产品的属性列表 - const params = { - pageSize: 10, - pageNo: 1, + getProductAttrPage({ + ...this.listQuery, productId: this.dataForm.id, - }; - getProductAttrPage(params).then((response) => { + }).then((response) => { this.productAttributeList = response.data.list; this.listQuery.total = response.data.total; }); @@ -390,6 +399,8 @@ export default { diff --git a/src/views/core/base/productionLine/add-or-updata.vue b/src/views/core/base/productionLine/add-or-updata.vue index b26c203d..32b83db5 100644 --- a/src/views/core/base/productionLine/add-or-updata.vue +++ b/src/views/core/base/productionLine/add-or-updata.vue @@ -7,53 +7,84 @@ --> @@ -65,22 +96,20 @@ import { getProductionLine, getCode, } from '@/api/core/base/productionLine'; -import { - getFactoryPage, -} from '@/api/core/base/factory'; +import { getFactoryPage } from '@/api/core/base/factory'; export default { mixins: [basicAdd], data() { return { urlOptions: { - getOption: true, - isGetCode: true, - codeURL: getCode, + getOption: true, + isGetCode: true, + codeURL: getCode, createURL: createProductionLine, updateURL: updateProductionLine, infoURL: getProductionLine, - optionArrUrl: [getFactoryPage], + optionArrUrl: [getFactoryPage], }, dataForm: { id: undefined, @@ -99,13 +128,26 @@ export default { name: [ { required: true, message: '产线名称不能为空', trigger: 'blur' }, ], - factoryId: [ + factoryId: [ { required: true, message: '工厂不能为空', trigger: 'change' }, ], + tvalue: [ + { + type: 'number', + message: '请输入正确的数字', + trigger: 'change', + transform: (val) => Number(val), + }, + ], }, }; }, - methods: { - }, + methods: {}, }; + + diff --git a/src/views/core/base/productionLine/index.vue b/src/views/core/base/productionLine/index.vue index 29ac73d2..4eb84248 100644 --- a/src/views/core/base/productionLine/index.vue +++ b/src/views/core/base/productionLine/index.vue @@ -29,7 +29,7 @@ @cancel="handleCancel" @confirm="handleConfirm" :before-close="handleCancel" - width="70%"> + width="50%"> diff --git a/src/views/equipment/analysis/quality/index.vue b/src/views/equipment/analysis/quality/index.vue index 89859e5e..8b023489 100644 --- a/src/views/equipment/analysis/quality/index.vue +++ b/src/views/equipment/analysis/quality/index.vue @@ -29,7 +29,10 @@ @emitFun="handleEmitFun"> -
+
各设备加工数量
@@ -87,6 +90,7 @@ export default { rangeSeparator: '-', startPlaceholder: '开始日期', endPlaceholder: '结束日期', + defaultTime: ['00:00:00', '23:59:59'], param: 'recordTime', defaultSelect: [ new Date(y, m, d) @@ -246,7 +250,9 @@ export default { created() { this.fillLineOptions(); this.fillProductOptions(); - this.getList(); + }, + mounted() { + this.$refs['search-bar'].headBtnClick('search'); }, methods: { handleTabClick(tab, event) { @@ -307,12 +313,16 @@ export default { }, handleSearchBarBtnClick(btn) { - console.log('handleSearchBarBtnClick', btn); + // debugger; switch (btn.btnName) { case 'search': this.queryParams.lineId = btn.lineId; this.queryParams.productId = btn.productId; - this.queryParams.recordTime = btn.recordTime ? btn.recordTime.map(time => moment(new Date(time)).format('YYYY-MM-DD HH:mm:ss')) : null; + this.queryParams.recordTime = btn.recordTime + ? btn.recordTime.map((time) => + moment(new Date(time)).format('YYYY-MM-DD HH:mm:ss') + ) + : null; this.$nextTick(() => { this.getList(); }); @@ -388,7 +398,7 @@ export default { font-size: 14px; &::before { - content: ""; + content: ''; position: absolute; left: 0; top: 6px; @@ -398,5 +408,4 @@ export default { background: #0b58ff; } } - -- 2.45.2 From 9ec13b35b8b6d1bd1b68d55cffe2089c65a70b1b Mon Sep 17 00:00:00 2001 From: lb Date: Thu, 12 Oct 2023 17:03:07 +0800 Subject: [PATCH 3/5] update equipment --- .env.dev | 4 +- .../equipment/components/AssetsUpload.vue | 55 +++ .../base/equipment/components/DialogForm.vue | 312 ++++++++++++++++++ .../equipment/components/EquipmentDrawer.vue | 2 +- src/views/core/base/equipment/index.vue | 152 ++++++--- .../analysis/quality/components/lineChart.vue | 2 +- 6 files changed, 485 insertions(+), 42 deletions(-) create mode 100644 src/views/core/base/equipment/components/AssetsUpload.vue create mode 100644 src/views/core/base/equipment/components/DialogForm.vue diff --git a/.env.dev b/.env.dev index 574a759f..40051292 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 new file mode 100644 index 00000000..4de576c5 --- /dev/null +++ b/src/views/core/base/equipment/components/AssetsUpload.vue @@ -0,0 +1,55 @@ + + + + + + + diff --git a/src/views/core/base/equipment/components/DialogForm.vue b/src/views/core/base/equipment/components/DialogForm.vue new file mode 100644 index 00000000..e55394de --- /dev/null +++ b/src/views/core/base/equipment/components/DialogForm.vue @@ -0,0 +1,312 @@ + + + + + + + diff --git a/src/views/core/base/equipment/components/EquipmentDrawer.vue b/src/views/core/base/equipment/components/EquipmentDrawer.vue index 16221ddf..30b84bfe 100644 --- a/src/views/core/base/equipment/components/EquipmentDrawer.vue +++ b/src/views/core/base/equipment/components/EquipmentDrawer.vue @@ -106,7 +106,7 @@ - + -- 2.45.2 From 5534104e870d3d5dc58d6e8f08728d08fb7d2fae Mon Sep 17 00:00:00 2001 From: lb Date: Fri, 13 Oct 2023 17:01:49 +0800 Subject: [PATCH 5/5] update equipment edit --- src/assets/images/default-file-icon.png | Bin 0 -> 1613 bytes .../equipment/components/AssetsUpload.vue | 133 +++++++++++++++++- .../base/equipment/components/DialogForm.vue | 1 + .../equipment/components/EquipmentDrawer.vue | 3 + src/views/core/base/equipment/index.vue | 6 + 5 files changed, 138 insertions(+), 5 deletions(-) create mode 100644 src/assets/images/default-file-icon.png diff --git a/src/assets/images/default-file-icon.png b/src/assets/images/default-file-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..f9e9d4671df842501d91974e35649b5e10b1e687 GIT binary patch literal 1613 zcmb`I`BM^j7{Tk$+0_#nD(%tq06QBQ)h z^hq?1%HN&KXy&!T94U3=^p}fowwOOU;zMdXn)RrFrSTo$7crYDLb#Xh%tIHTXjjc# zC3@M}&$i8%?|B=bYW=y)p^I8eojOrGh0rbD0i>0&c`w%Dx1|GWAv1DAS_#9=@NzgnDay@WJUL;%_F&NUp_ zp#Jv=v%X4T8n>Db65MZDX}%t|XI;nZ0`=SdD%S0~0wS3olAutt;6DKYq?@qFxP@uE zW!~-4Zu2$^5}f`}oehq4-sYT}iOiyT#)Mx*g6st@=%4EiS+2ePpxdru)Q$Zu-te-)6NMTLDUbhSgjOI{n&=|L~`)u0`Zlc(AoH$ z!pX7TI63D2kyvEwhflpwDdU(-E`EO~)HpjAV@ioFuuQLryvXledX*Uu$0dh4p= z$413qAdStt1nQ+73R@tLXlOo~2ntvmCjM$JbfX^ZP#<_OQWf3-WkVgB zaFJhldj?coJ34(OrK1-tx3c_TJfZX*V!4*AI4?+m$V|IukRCV*51RYEuryM@E_7~{J2wa!T|XE{Urnsvr1$Dp;d=8knLw4^ zfe-k2`V2$S;Ov}KojR2cg$yLzn287V5!^9XAeYwh^g-j{IlLBF{n{`Gr_YqEpkS^7 zT4N{Vf59t~=})`a=XZ|QbQht}F;BiZ;Ybl?A-qNL^6{}(DmzEbu-UbD;m9(w2mD#G zXV@fI(YazH#xl%ov+W|0eEiucai_KpR`?nu_*&iaU~s*nkiJzYH1%d2by(H|J#lDa z8ysEnX2A-NjlRTmFv8~aH9?N~^aa!`yi-dfrm{B*-?pvA@Ekcs4o?YEw$Z>;yilva zq=xW#Sn(|VX;U{l5soI8>y77?WKS9EPMp}+mQ}Vt!N)R-0&BvasA8mhUvu=t>|;Xs7%Sz;nMJq1in$^KakI?A8DP literal 0 HcmV?d00001 diff --git a/src/views/core/base/equipment/components/AssetsUpload.vue b/src/views/core/base/equipment/components/AssetsUpload.vue index e81eebf4..c6453eac 100644 --- a/src/views/core/base/equipment/components/AssetsUpload.vue +++ b/src/views/core/base/equipment/components/AssetsUpload.vue @@ -30,21 +30,37 @@ some tips....
-
- 1 + }" + :data-name="n" + :class="{ 'default-icon': !isPicMode }"> + +
--> +
+