From c2b5680ea031e842f9cbc64f787968f60d3466f0 Mon Sep 17 00:00:00 2001
From: yuejiayang <146344614+YangLei105@users.noreply.github.com>
Date: Mon, 23 Dec 2024 20:05:03 +0800
Subject: [PATCH] =?UTF-8?q?2024.12.23=20UI=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 4 +
src/views/common/login.vue | 11 +-
src/views/modules/auth/authInquiry.vue | 100 ++++++++++++++++++
.../modules/eam/com_project_proof_record.vue | 37 ++++---
.../modules/eam/eamProjectInfoForUploads.vue | 24 ++---
src/views/modules/eam/eamProjectPartInfo.vue | 47 ++++----
src/views/modules/oss/ossComponents.vue | 15 ++-
7 files changed, 179 insertions(+), 59 deletions(-)
diff --git a/package.json b/package.json
index 3263f2a..58a4c6b 100644
--- a/package.json
+++ b/package.json
@@ -14,6 +14,8 @@
"build": "gulp"
},
"dependencies": {
+ "@babel/plugin-transform-runtime": "^7.25.9",
+ "@babel/runtime": "^7.26.0",
"@vue-office/docx": "^1.6.2",
"@vue-office/excel": "^1.7.11",
"@vue/composition-api": "^1.7.2",
@@ -29,7 +31,9 @@
"gulp-load-plugins": "2.0.5",
"gulp-replace": "1.0.0",
"gulp-shell": "0.8.0",
+ "jspdf": "^2.5.2",
"lodash": "4.17.5",
+ "mammoth": "^1.8.0",
"moment": "^2.30.1",
"node-sass": "4.13.1",
"npm": "^6.14.6",
diff --git a/src/views/common/login.vue b/src/views/common/login.vue
index c931614..04149e7 100644
--- a/src/views/common/login.vue
+++ b/src/views/common/login.vue
@@ -94,7 +94,16 @@ import { getUUID } from '@/utils'
}).then(({data}) => {
if (data && data.code === 0) {
this.$cookie.set('token', data.token)
- this.$router.replace({ name: 'home' })
+
+ const prevLink = document.referrer;
+
+ console.log('prevLink',prevLink)
+ // if($.trim(prevLink)==='') {
+ this.$router.replace({name: 'home'})
+ // }
+ // if(prevLink.indexOf('www.example.com')===-1){ //来自其它站点
+ // location.href = 'www.example.com/index.html';
+ // }
this.$i18n.locale=data.language
localStorage.setItem('locale', data.language)
localStorage.setItem('refresh', "0")
diff --git a/src/views/modules/auth/authInquiry.vue b/src/views/modules/auth/authInquiry.vue
index 0fc837d..0a0dcae 100644
--- a/src/views/modules/auth/authInquiry.vue
+++ b/src/views/modules/auth/authInquiry.vue
@@ -242,6 +242,12 @@
+
+
+
+
+
-
-
{{scope.row[item.columnProp]}}
-
![]()
-
-
{{scope.row[item.columnProp]}}
![]()
-
@@ -67,6 +61,7 @@
@row-click="uploadDocumentClickRow"
@current-change="changeCurrentRow1"
:row-style="rowStyle"
+ :row-class-name="tableRowClassName"
v-loading="dataListLoading">
-
+
{{ scope.$index + 1 }}
-
+
{{ getCombinedDocumentType(scope.row) }}
@@ -106,16 +101,9 @@
:min-width="item.columnWidth"
:label="item.columnLabel">
-
-
{{scope.row[item.columnProp]}}
-
![]()
-
-
{{scope.row[item.columnProp]}}
![]()
-
@@ -2002,11 +1990,26 @@
document.body.removeChild(linkNode)
})
},
+ tableRowClassName ({row, rowIndex}) {
+ if (row.allUploaded === 'Y') {
+ return 'rows-productions'
+ }
+ if (row.status === '正式量产' || row.uploadedFlag === 'Y') {
+ return 'row-production'
+ }
+ return ''
+ },
}
};
-