From 9875702403f79b0eb877cdd8d0deca175e0cf1ab Mon Sep 17 00:00:00 2001 From: long <18782126717@163.com> Date: Mon, 6 Feb 2023 14:28:00 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=87=E8=B4=AD?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E7=94=B5=E5=95=86=E6=B5=81=E7=A8=8B=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98=EF=BC=8C=E6=B7=BB=E5=8A=A0=E5=A4=96?= =?UTF-8?q?=E9=83=A8=E6=A0=B7=E5=BC=8F=E5=88=B0=E6=9C=AC=E5=9C=B0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/{ => assets}/css/ali.css | 0 .../css/font_3733417_ws9m9bvag1h.woff2 | Bin src/views/activiti/applyList.vue | 1 + .../activiti/form/ProcessUdgetPlanForm.vue | 17 +++++++++-------- src/views/activiti/historicDetail.vue | 3 +++ src/views/dashboard/HomePage.vue | 2 +- vue.config.js | 2 +- 7 files changed, 15 insertions(+), 10 deletions(-) rename src/{ => assets}/css/ali.css (100%) rename src/{ => assets}/css/font_3733417_ws9m9bvag1h.woff2 (100%) diff --git a/src/css/ali.css b/src/assets/css/ali.css similarity index 100% rename from src/css/ali.css rename to src/assets/css/ali.css diff --git a/src/css/font_3733417_ws9m9bvag1h.woff2 b/src/assets/css/font_3733417_ws9m9bvag1h.woff2 similarity index 100% rename from src/css/font_3733417_ws9m9bvag1h.woff2 rename to src/assets/css/font_3733417_ws9m9bvag1h.woff2 diff --git a/src/views/activiti/applyList.vue b/src/views/activiti/applyList.vue index a2e35f6..62f7c33 100644 --- a/src/views/activiti/applyList.vue +++ b/src/views/activiti/applyList.vue @@ -238,6 +238,7 @@ title: '标题', align:"left", dataIndex: 'title', + align:"center", scopedSlots: { customRender: 'logContent' }, sorter: true }, diff --git a/src/views/activiti/form/ProcessUdgetPlanForm.vue b/src/views/activiti/form/ProcessUdgetPlanForm.vue index 8643f2c..08d84b8 100644 --- a/src/views/activiti/form/ProcessUdgetPlanForm.vue +++ b/src/views/activiti/form/ProcessUdgetPlanForm.vue @@ -10,11 +10,6 @@ - - - - - @@ -36,6 +31,11 @@ date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" disabled/> + + + + + { this.assigneesText = this.data.materialType this.form.setFieldsValue(fieldval) @@ -1556,7 +1557,7 @@ } if (formData.planType == 1 && formData.materialType != 6) { console.log('格式化后的数据', formData) - if (formData.ifDirect == null) { + if (formData.ifDirect == null && this.routePlanName == '采购员') { this.$message.error('请选择是否属于直达物资!') return } else { diff --git a/src/views/activiti/historicDetail.vue b/src/views/activiti/historicDetail.vue index 211b6f6..732c5f2 100644 --- a/src/views/activiti/historicDetail.vue +++ b/src/views/activiti/historicDetail.vue @@ -153,6 +153,9 @@ export default { this.getDataList(); }, removeHtmlStyle(str) { + if (!str){ + return ; + } str = str.replace(/<\/?[^>]*>/g, ''); //匹配所有html标签 str = str.replace(/]*>/g, '

'); //去除标签内所有属性,并设置自定义类名 diff --git a/src/views/dashboard/HomePage.vue b/src/views/dashboard/HomePage.vue index 22e55b5..cba41a1 100644 --- a/src/views/dashboard/HomePage.vue +++ b/src/views/dashboard/HomePage.vue @@ -347,7 +347,7 @@ export default {