From 5728db51979d46b759429be1342dc30e38310323 Mon Sep 17 00:00:00 2001
From: qq787203167 <787203167@qq.com>
Date: Fri, 12 Aug 2022 17:42:24 +0800
Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93?=
=?UTF-8?q?=E5=B7=B2=E7=9F=A5bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../virtualList/components/editModel.vue | 4 +-
.../projectManagement/components/TaskList.vue | 38 +++++++++++--------
.../components/listEditModel.vue | 4 +-
.../components/listOfRegulations.vue | 16 +++++---
4 files changed, 38 insertions(+), 24 deletions(-)
diff --git a/jero-web/src/views/documentTools/virtualList/components/editModel.vue b/jero-web/src/views/documentTools/virtualList/components/editModel.vue
index 408eff413..443c415c6 100644
--- a/jero-web/src/views/documentTools/virtualList/components/editModel.vue
+++ b/jero-web/src/views/documentTools/virtualList/components/editModel.vue
@@ -621,8 +621,8 @@
rules: {
subtitle: [
{
- max: 100,
- message: this.$t('subtitle') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
+ max: 300,
+ message: this.$t('subtitle') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
trigger: 'blur'
}
],
diff --git a/jero-web/src/views/projectManagement/components/TaskList.vue b/jero-web/src/views/projectManagement/components/TaskList.vue
index dd46f0701..1906d69d8 100644
--- a/jero-web/src/views/projectManagement/components/TaskList.vue
+++ b/jero-web/src/views/projectManagement/components/TaskList.vue
@@ -14,18 +14,18 @@
-
+
{{$t('areaOfResponsibility')}}
-
+
-
+
{{$t('CertificationProgress')}}
@@ -364,7 +365,7 @@
DueDate: 'designDueDate',
remarks: 'designRemark',
projectName: this.$route.query.projectName,
- targetMarket:this.$route.query.targetMarket,
+ targetMarket: this.$route.query.targetMarket,
projectNameId: this.$route.query.projectNameId,
primaryKeyId: val.designTaskDetailId,
PersonChargeFeedback: val.designPersonChargeFeedback
@@ -389,7 +390,7 @@
DueDate: 'prehomoDueDate',
remarks: 'prehomoRemark',
projectName: this.$route.query.projectName,
- targetMarket:this.$route.query.targetMarket,
+ targetMarket: this.$route.query.targetMarket,
projectNameId: this.$route.query.projectNameId,
primaryKeyId: val.prehomoTaskDetailId,
PersonChargeFeedback: val.prehomoPersonChargeFeedback
@@ -414,7 +415,7 @@
DueDate: 'verifyDueDate',
remarks: 'verifyRemark',
projectName: this.$route.query.projectName,
- targetMarket:this.$route.query.targetMarket,
+ targetMarket: this.$route.query.targetMarket,
projectNameId: this.$route.query.projectNameId,
primaryKeyId: val.verifyTaskDetailId,
PersonChargeFeedback: val.verifyPersonChargeFeedback
@@ -431,9 +432,15 @@
this.$refs.certificationDirectoryRef.addModel()
},
getList() {
+ let queryParam = JSON.parse(JSON.stringify(this.queryParam))
+ Object.keys(queryParam).forEach(val => {
+ if (queryParam[val] instanceof Array) {
+ queryParam[val] = queryParam[val].join(',')
+ }
+ })
let query = {
projectLibraryId: this.$route.query.id,
- ...this.queryParam
+ ...queryParam
}
this.loading = true
getAction(this.url.list, query).then((res) => {
@@ -458,15 +465,15 @@
TaskListModelList() {
this.getList()
},
- standardClick(row){
+ standardClick(row) {
let newUrl = this.$router.resolve({
path: '/docManage/library/detail',
query: {
- id:row.standId
+ id: row.standId
}
})
window.open(newUrl.href, '_blank')
- },
+ }
}
}
@@ -659,7 +666,8 @@
.box-content-cou {
cursor: pointer;
}
- .box-content-buttom{
+
+ .box-content-buttom {
width: 100%;
overflow: hidden;
display: -webkit-box;
diff --git a/jero-web/src/views/projectManagement/components/listEditModel.vue b/jero-web/src/views/projectManagement/components/listEditModel.vue
index ea5608dd6..460c504bd 100644
--- a/jero-web/src/views/projectManagement/components/listEditModel.vue
+++ b/jero-web/src/views/projectManagement/components/listEditModel.vue
@@ -838,8 +838,8 @@
rulesData: {
subtitle: [
{
- max: 100,
- message: this.$t('subtitle') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
+ max: 300,
+ message: this.$t('subtitle') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
trigger: 'blur'
}
],
diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue
index dbf4800e9..231dbd65a 100644
--- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue
+++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue
@@ -29,10 +29,10 @@
{{ $t('areaOfResponsibility') }}
-
+
@@ -1386,9 +1386,15 @@
if (this.formInlineRoleSwitching.roleSwitchingCode == '11' || this.formInlineRoleSwitching.roleSwitchingCode == '12') {
roleCode = 0
}
+ let queryParam = JSON.parse(JSON.stringify(this.queryParam))
+ Object.keys(queryParam).forEach(val => {
+ if (queryParam[val] instanceof Array) {
+ queryParam[val] = queryParam[val].join(',')
+ }
+ })
let query = {
...this.queryParamQuery,
- ...this.queryParam,
+ ...queryParam,
projectLibraryId: this.$route.query.id,
roleCode: roleCode
}
From cfa59f30bc0b834ef3e247bdbd93ae7ad44cb342 Mon Sep 17 00:00:00 2001
From: qq787203167 <787203167@qq.com>
Date: Fri, 12 Aug 2022 17:51:56 +0800
Subject: [PATCH 2/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93?=
=?UTF-8?q?=E5=B7=B2=E7=9F=A5bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/Standardselection/index.vue | 4 ++--
.../virtualList/components/editModel.vue | 19 ++++++++++++++-----
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/jero-web/src/components/Standardselection/index.vue b/jero-web/src/components/Standardselection/index.vue
index 2c5c7b703..ced5cdd61 100644
--- a/jero-web/src/components/Standardselection/index.vue
+++ b/jero-web/src/components/Standardselection/index.vue
@@ -1,7 +1,7 @@
-
@@ -224,7 +224,7 @@
position: absolute;
bottom: 0;
width: 100%;
- z-index:100;
+ z-index: 100;
border-top: 1px solid #e8e8e8;
padding: 10px 16px;
text-align: right;
diff --git a/jero-web/src/views/documentTools/virtualList/components/editModel.vue b/jero-web/src/views/documentTools/virtualList/components/editModel.vue
index 443c415c6..c2b96b192 100644
--- a/jero-web/src/views/documentTools/virtualList/components/editModel.vue
+++ b/jero-web/src/views/documentTools/virtualList/components/editModel.vue
@@ -113,11 +113,13 @@
{{$t('correspondingStandard')}}
-
-
+
+
+
+
+
@@ -626,6 +628,13 @@
trigger: 'blur'
}
],
+ correspondingStandard: [
+ {
+ max: 300,
+ message: this.$t('correspondingStandard') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
+ trigger: 'blur'
+ }
+ ],
wvtaId: [
{
max: 100,
From 96c51631a8f9b199947a44db2124fafb811f933a Mon Sep 17 00:00:00 2001
From: qq787203167 <787203167@qq.com>
Date: Mon, 15 Aug 2022 11:10:29 +0800
Subject: [PATCH 3/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93?=
=?UTF-8?q?=E5=B7=B2=E7=9F=A5bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jero-web/src/common/lang/en-us.js | 1 +
jero-web/src/common/lang/zh-cn.js | 1 +
.../virtualList/components/batSetting.vue | 68 +++++++++++++++----
.../components/virtualListDetails.vue | 19 ++++--
.../components/batSetting.vue | 32 +++++++++
.../components/listOfRegulations.vue | 13 +++-
6 files changed, 114 insertions(+), 20 deletions(-)
diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js
index 591446f6f..40791fac7 100644
--- a/jero-web/src/common/lang/en-us.js
+++ b/jero-web/src/common/lang/en-us.js
@@ -1255,4 +1255,5 @@ module.exports = {
deleteNode:'If any file information exists, it will be deleted',
HaveReleased:'Have released',
forward:'Forward',
+ areResponsibilityAreaInformationBatch:'Are you sure you want to modify the responsibility area information in batch',
}
\ No newline at end of file
diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js
index 6cdb9acde..29609864d 100644
--- a/jero-web/src/common/lang/zh-cn.js
+++ b/jero-web/src/common/lang/zh-cn.js
@@ -1358,4 +1358,5 @@ module.exports = {
deleteNode:'若有文件信息将同步删除',
HaveReleased:'已发布',
forward:'转发',
+ areResponsibilityAreaInformationBatch:'确实是否批量修改责任领域信息',
}
\ No newline at end of file
diff --git a/jero-web/src/views/documentTools/virtualList/components/batSetting.vue b/jero-web/src/views/documentTools/virtualList/components/batSetting.vue
index 261da3322..28dadbb9a 100644
--- a/jero-web/src/views/documentTools/virtualList/components/batSetting.vue
+++ b/jero-web/src/views/documentTools/virtualList/components/batSetting.vue
@@ -35,11 +35,11 @@
:placeholder="$t('PleaseSelect')+$t('certificationType')"
:type="'select'"
:triggerChange="false" :dictCode="'attestation_type'"/>
-
-
-
-
-
+
+
+
+
+
@@ -55,11 +55,11 @@
:placeholder="$t('PleaseSelect')+$t('certificationLevel')"
:type="'select'"
:triggerChange="false" :dictCode="'attestation_rank'"/>
-
-
-
-
-
+
+
+
+
+
@@ -73,11 +73,11 @@
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
:type="'select'"
:triggerChange="false" :dictCode="'duty_territory'"/>
-
-
-
-
-
+
+
+
+
+
@@ -216,6 +216,13 @@
})
},
handleOk() {
+ if (this.formInline.dutyTerritory) {
+ this.handleOnTwo()
+ } else {
+ this.handleOkOne()
+ }
+ },
+ handleOkOne() {
let ids = JSON.parse(JSON.stringify(this.ids))
let formInline = JSON.parse(JSON.stringify(this.formInline))
Object.keys(formInline).forEach(res => {
@@ -240,6 +247,37 @@
}
})
},
+ handleOnTwo() {
+ let _this = this
+ this.$confirm({
+ content: _this.$t('areResponsibilityAreaInformationBatch'),
+ onOk() {
+ let ids = JSON.parse(JSON.stringify(_this.ids))
+ let formInline = JSON.parse(JSON.stringify(_this.formInline))
+ Object.keys(formInline).forEach(res => {
+ if (formInline[res] instanceof Array) {
+ formInline[res] = formInline[res].join(',')
+ }
+ })
+ let query = {
+ ids: ids.join(','),
+ ...formInline
+ }
+ _this.confirmLoading = true
+ postAction(_this.url.setBatch, query).then((res) => {
+ if (res.success) {
+ _this.$message.success(_this.$t('OperationSuccessful'))
+ _this.visible = false
+ _this.confirmLoading = false
+ _this.$emit('batSettingList')
+ } else {
+ _this.$message.warning(res.message)
+ _this.confirmLoading = false
+ }
+ })
+ }
+ })
+ },
handleCancel() {
this.formInline = {}
this.visible = false
diff --git a/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue b/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue
index 7ae3c6526..15deaa0a6 100644
--- a/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue
+++ b/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue
@@ -143,7 +143,7 @@
class="ant-table tableList"
:loading="loading"
:pagination="false"
- :scroll="{x: '100%',y:'calc(100vh - 170px)'}"
+ :scroll="{x: '100%',y:'calc(100vh - 186px)'}"
rowKey="id"
:data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
@@ -202,6 +202,9 @@
--
+
+ {{$t('total')+' '+this.dataSource.length+' '+ $t('strip')}}
+
@@ -796,7 +799,7 @@
let index2 = fileName.length
let fileSuffix = fileName.substring(index1, index2)
if (fileSuffix == '.pdf') {
- window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + fileQuery.id+'&userName='+this.userInfo().username))
+ window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + fileQuery.id + '&userName=' + this.userInfo().username))
} else if (fileSuffix == '.docx') {
let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadFileUrl + '/' + fileQuery.id + fileSuffix)
window.open(url, '_blank')
@@ -813,7 +816,7 @@
let index2 = fileName.length
let fileSuffix = fileName.substring(index1, index2)
if (fileSuffix == '.pdf') {
- window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + id+'&userName='+this.userInfo().username))
+ window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + id + '&userName=' + this.userInfo().username))
} else if (fileSuffix == '.docx') {
let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadFileUrl + '/' + id + fileSuffix)
window.open(url, '_blank')
@@ -825,7 +828,7 @@
}
},
download(item) {
- downloadFile('/sys/common/downLoadFile', item.fileName, { id: item.id ,userName:this.userInfo().username})
+ downloadFile('/sys/common/downLoadFile', item.fileName, { id: item.id, userName: this.userInfo().username })
},
clickButtonToUpload(item) {
this.loading = true
@@ -1004,6 +1007,14 @@
text-justify: inter-ideograph;
word-break: break-all
}
+
+ .buttom-box {
+ width: 100%;
+ text-align: right;
+ font-size: 16px;
+ font-weight: 500;
+ color: #000F16;
+ }
+
\ No newline at end of file
From 169a3340b017370509bf5dbdbe8388b81e9e1d4f Mon Sep 17 00:00:00 2001
From: qq787203167 <787203167@qq.com>
Date: Mon, 15 Aug 2022 15:23:10 +0800
Subject: [PATCH 5/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93?=
=?UTF-8?q?=E5=B7=B2=E7=9F=A5bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/projectManagement/components/TaskList.vue | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/jero-web/src/views/projectManagement/components/TaskList.vue b/jero-web/src/views/projectManagement/components/TaskList.vue
index d5f340bfc..ea99ae712 100644
--- a/jero-web/src/views/projectManagement/components/TaskList.vue
+++ b/jero-web/src/views/projectManagement/components/TaskList.vue
@@ -76,10 +76,10 @@
-
-
-
-
+
+
+
+
{{$t('CertificationDirectory')}}
@@ -90,16 +90,16 @@