From 2a7f93ca78a708ea84f8bbb9d2753b7653736666 Mon Sep 17 00:00:00 2001
From: zyd
Date: Fri, 26 Aug 2022 10:43:23 +0800
Subject: [PATCH 1/6] =?UTF-8?q?fix:=20=E5=BE=81=E6=B1=82=E6=84=8F=E8=A7=81?=
=?UTF-8?q?=E5=A1=AB=E5=86=99=E6=84=8F=E8=A7=81=E9=A1=B5=E9=9D=A2=E4=B8=AD?=
=?UTF-8?q?=EF=BC=8C=E7=82=B9=E5=87=BB=E6=8F=90=E4=BA=A4=E6=8C=89=E9=92=AE?=
=?UTF-8?q?=E5=90=8E=E5=B0=86=E5=BD=93=E5=89=8D=E5=A1=AB=E5=86=99=E7=9A=84?=
=?UTF-8?q?=E5=86=85=E5=AE=B9=E5=90=8C=E6=AD=A5=E4=B8=BB=E7=BB=84=E4=BB=B6?=
=?UTF-8?q?=E4=B8=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../bzzqyj/ZQYJAddFileDetails.vue | 42 ++++++++++++++-----
1 file changed, 32 insertions(+), 10 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/ZQYJAddFileDetails.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/ZQYJAddFileDetails.vue
index 69427df60..c5702479f 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/ZQYJAddFileDetails.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/ZQYJAddFileDetails.vue
@@ -147,16 +147,38 @@
}
},
closePage(){
- window.opener = null;
- window.open("about:blank", "_top").close()
- if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) {
- window.location.href = "about:blank";
- window.close();
- } else {
- window.opener = null;
- window.open("", "_self");
- window.close();
- }
+ this.$refs['formAdd'].validate((valid) => {
+ if (valid) {
+ var id = Number(Math.random().toString().substr(3, 3) + Date.now()).toString(36);
+ var form = {
+ id: id,
+ oldText: this.opinionContent.oldText,
+ newText: this.opinionContent.newText,
+ reason: this.opinionContent.reason,
+ chapterNumber: this.opinionContent.partCode,
+ chapterName: this.opinionContent.chapterName,
+ }
+ this.$store.commit('SET_REFRESH_FLAG', true)
+ localStorage.setItem('bzzqyjForm', JSON.stringify(form))
+ localStorage.setItem('freshClueNum', new Date().getTime())
+ this.opinionContent.partCode = ''
+ this.opinionContent.reason = ''
+ this.opinionContent.oldText = ''
+ this.opinionContent.newText = ''
+ this.opinionContent.chapterName = ''
+
+ window.opener = null;
+ window.open("about:blank", "_top").close()
+ if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) {
+ window.location.href = "about:blank";
+ window.close();
+ } else {
+ window.opener = null;
+ window.open("", "_self");
+ window.close();
+ }
+ }
+ })
}
},
mounted() {
From 8499983b6d08edd6c1e20455a478776c17f7b016 Mon Sep 17 00:00:00 2001
From: zyd
Date: Fri, 26 Aug 2022 13:31:44 +0800
Subject: [PATCH 2/6] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E4=B8=89=E4=B8=AA?=
=?UTF-8?q?=E5=9F=BA=E7=A1=80=E5=BA=93=E4=B8=AD=E7=9A=84=E6=96=87=E6=9C=AC?=
=?UTF-8?q?=E7=8A=B6=E6=80=81=E5=88=97=E4=BD=8D=E7=BD=AE=EF=BC=8C=E4=BB=8E?=
=?UTF-8?q?=E6=9C=80=E5=90=8E=E6=8C=AA=E5=88=B0=E7=AC=AC=E4=B8=89=E5=88=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../domesticStandardsAndRegulations/index.vue | 42 ++++++++---------
.../components/EnterpriseStandardDatabase.vue | 37 +++++++--------
.../foreignStandardsAndRegulations/index.vue | 45 ++++++++++---------
3 files changed, 64 insertions(+), 60 deletions(-)
diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
index 985cd7f18..48221be2e 100644
--- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
+++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
@@ -247,6 +247,27 @@
class="table-jump">{{ scope.row.standName }}
+
+
+
+
+
+
+
+ {{
+ textStatusMap[scope.row.textStatus]
+ }}
+ {{ textStatusMap[scope.row.textStatus] }}
+ {{ textStatusMap[scope.row.textStatus] }}
+
+
+
{{ scope.row.dtbzh }}
-
-
-
-
-
-
-
- {{
- textStatusMap[scope.row.textStatus]
- }}
- {{ textStatusMap[scope.row.textStatus] }}
- {{ textStatusMap[scope.row.textStatus] }}
-
-
+
+
+
+
+
+ {{ scope.row.standStatusShow }}
+
+
+ {{ scope.row.standStatusShow }}
+
+
+ {{ scope.row.standStatusShow }}
+
+
+
-
-
-
- {{ scope.row.standStatusShow }}
-
-
- {{ scope.row.standStatusShow }}
-
-
- {{ scope.row.standStatusShow }}
-
-
-
+
+
+
+
+
+
+
+ {{
+ textStatusMap[scope.row.textStatus]
+ }}
+ {{
+ textStatusMap[scope.row.textStatus]
+ }}
+ {{
+ textStatusMap[scope.row.textStatus]
+ }}
+ {{ textStatusMap[scope.row.textStatus] }}
+
+
-
-
-
-
-
-
-
- {{
- textStatusMap[scope.row.textStatus]
- }}
- {{
- textStatusMap[scope.row.textStatus]
- }}
- {{
- textStatusMap[scope.row.textStatus]
- }}
- {{ textStatusMap[scope.row.textStatus] }}
-
-
+
From 54383da57038c39107e6f1865ebd7b8f581fd659 Mon Sep 17 00:00:00 2001
From: zyd
Date: Sun, 28 Aug 2022 21:01:40 +0800
Subject: [PATCH 3/6] =?UTF-8?q?=20fix:=20=E4=BF=AE=E5=A4=8D=E6=96=87?=
=?UTF-8?q?=E4=BB=B6=E4=B8=8A=E4=BC=A0=E5=A4=B1=E8=B4=A5=E7=9A=84BUG?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/CustomFormComponents/File.vue | 54 ++++++++++++--------
1 file changed, 33 insertions(+), 21 deletions(-)
diff --git a/src/components/CustomFormComponents/File.vue b/src/components/CustomFormComponents/File.vue
index 4dc120d31..f0488b990 100644
--- a/src/components/CustomFormComponents/File.vue
+++ b/src/components/CustomFormComponents/File.vue
@@ -366,27 +366,39 @@ export default {
obj.name = file.response.data.oldFileName
obj.response.data = file.response.data
this.showFileList.push(obj)
- // this.value += res.data.id + ','
- this.$emit('input', this.value ? (this.value + ','+ res.data.id + ',').replaceAll(",,",',') : (this.value+ res.data.id + ',').replaceAll(',,',','))
- this.$emit('success')
- this.$message({
- message: '文件上传成功',
- type: 'success'
- })
- switch (this.config.attrField) {
- case 'recordsAttr':
- this.$emit('recordsAttrTime', res.data.uploadTime)
- break
- case 'signAttr':
- this.$emit('signAttrTime', res.data.uploadTime)
- break
- case 'otherAttr':
- this.$emit('otherAttrTime', res.data.uploadTime)
- break
- }
- // 国内外标准法规返回文件上传成功状态
- this.$emit('fileSuccess', true)
- // this.importModalshowflagtemp = false
+ let attrIds=""
+ if(this.value != null && this.value !== ''){
+ let attrArray= this.value.split(',')
+ // 方法二:filter方法 [推荐写法]
+ let attrIdsArray = attrArray.filter((s) => {
+ return s && s.trim(); // 注:IE9(不包含IE9)以下的版本没有trim()方法
+ });
+ attrIdsArray.push(res.data.id);
+ console.log(attrIdsArray)
+ attrIds = attrIdsArray.join(',')+","
+ }else{
+ attrIds =res.data.id+","
+ }
+ this.$emit('input', attrIds)
+ this.$emit('success')
+ this.$message({
+ message: '文件上传成功',
+ type: 'success'
+ })
+ switch (this.config.attrField) {
+ case 'recordsAttr':
+ this.$emit('recordsAttrTime', res.data.uploadTime)
+ break
+ case 'signAttr':
+ this.$emit('signAttrTime', res.data.uploadTime)
+ break
+ case 'otherAttr':
+ this.$emit('otherAttrTime', res.data.uploadTime)
+ break
+ }
+ // 国内外标准法规返回文件上传成功状态
+ this.$emit('fileSuccess', true)
+ // this.importModalshowflagtemp = false
} else {
this.$message({
message: res.message,
From 68041a564b56cd08e748cd1338b53f3a5273e4cf Mon Sep 17 00:00:00 2001
From: zhangyanduan
Date: Mon, 29 Aug 2022 10:34:31 +0800
Subject: [PATCH 4/6] =?UTF-8?q?fix:=20=E6=A0=87=E5=87=86=E8=AF=A6=E6=83=85?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=AD=E5=8F=91=E5=B8=83=E7=A8=BF=E8=AF=91?=
=?UTF-8?q?=E6=96=87=E5=AD=97=E6=AE=B5=E9=BB=98=E8=AE=A4=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/details/otherStandardDetails/index.vue | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue
index 74e5d2ae7..fffd27e88 100644
--- a/src/pages/details/otherStandardDetails/index.vue
+++ b/src/pages/details/otherStandardDetails/index.vue
@@ -98,11 +98,13 @@
- -
+
+ -
+
-
+
@@ -137,7 +139,9 @@
- -
+
+ -
+
From e31fdacb4cc0ec574678d5b751795769ffcbb72e Mon Sep 17 00:00:00 2001
From: zhangyanduan
Date: Mon, 29 Aug 2022 11:07:19 +0800
Subject: [PATCH 5/6] =?UTF-8?q?fix:=20=E5=BE=81=E6=B1=82=E6=84=8F=E8=A7=81?=
=?UTF-8?q?=E5=88=97=E8=A1=A8=E4=B8=AD=E6=9D=A5=E6=BA=90=E3=80=81=E6=84=8F?=
=?UTF-8?q?=E8=A7=81=E5=A4=84=E7=90=86=E7=AD=89=E5=AD=97=E6=AE=B5=E6=A0=B9?=
=?UTF-8?q?=E6=8D=AE=E7=8A=B6=E6=80=81=E5=8F=8D=E9=A6=88=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?=E8=BF=98=E6=98=AF=E4=B8=8D=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../standardForComments/pags/consultationDetails.vue | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue
index c1c1e7514..69f6f8f27 100644
--- a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue
+++ b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue
@@ -163,11 +163,13 @@
align="center"
width="100"
label="来源"
+ v-if="showOther"
>
{{ stateText(scope.row.state) }}
@@ -177,6 +179,7 @@
prop="cause"
align="center"
label="原因"
+ v-if="showOther"
width="170"
>
@@ -317,7 +320,8 @@ export default {
endTime: ''
}, // 详情数据
ideaKey: false,
- refreshTimer: null
+ refreshTimer: null,
+ showOther:false
}
},
methods: {
@@ -385,6 +389,12 @@ export default {
_this: this
}, res => {
this.standinfoList = res.data.records
+ if(this.standinfoList && this.standinfoList.length>0){
+ const oneData = this.standinfoList[0]
+ if(oneData.state && oneData != ''){
+ this.showOther =true
+ }
+ }
console.log(res.data.records);
this.total = res.data.total
this.spinShow = false
From 806dd53e32d43a03db0e30304fad3c989f38fbcf Mon Sep 17 00:00:00 2001
From: zyd
Date: Tue, 30 Aug 2022 23:59:46 +0800
Subject: [PATCH 6/6] =?UTF-8?q?add:=E6=9C=BA=E6=9E=84=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=A0=B9=E6=8D=AE=E9=83=A8=E9=97=A8=E6=89=B9?=
=?UTF-8?q?=E9=87=8F=E9=85=8D=E7=BD=AE=E5=B2=97=E4=BD=8D=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/mechanismManage/pages/mechanism.vue | 35 +++++++++++++++++--
1 file changed, 33 insertions(+), 2 deletions(-)
diff --git a/src/pages/config/pages/mechanismManage/pages/mechanism.vue b/src/pages/config/pages/mechanismManage/pages/mechanism.vue
index 9c570751a..e2696eecb 100644
--- a/src/pages/config/pages/mechanismManage/pages/mechanism.vue
+++ b/src/pages/config/pages/mechanismManage/pages/mechanism.vue
@@ -72,6 +72,9 @@
批量配置岗位
+
+ 根据部门批量配置岗位
+
@@ -186,7 +189,6 @@
加载中...
- 导入中...
确定
取消
+ 导入中...
@@ -284,9 +288,11 @@ export default {
data: [], // table数据
treeLoading: false,
Loading: false,
+ butionLoading: false,
id: '',
// 批量配置岗位勾选暂存
manageData: [],
+ configOrgManage:false,
drawerTitle: '配置岗位'
}
},
@@ -301,26 +307,43 @@ export default {
},
resetFormPost() {
this.modalPost = false
+ this.postList = []
this.page1 = 1
},
PostSubmit() {
+ this.butionLoading = true
if (this.drawerTitle === '配置岗位') {
this.$http.postData('sarUser/user/position', {
positionIds: this.$refs.tree2.getCheckedKeys(),
userId: this.userId
}, {}, res => {
if (res.ok) {
+ this.butionLoading = false
this.$message.success('配置岗位成功')
this.modalPost = false
this.getData()
}
})
- } else {
+ } else if(this.configOrgManage){
+ //批量配置岗位信息
+ this.$http.postData('sarUser/user/positionBatchByOrgId', {
+ positionIds: this.$refs.tree2.getCheckedKeys(),
+ orgId: this.id
+ }, {}, res => {
+ if (res.ok) {
+ this.butionLoading = false
+ this.$message.success('批量配置岗位成功')
+ this.modalPost = false
+ this.getData()
+ }
+ })
+ }else{
this.$http.postData('sarUser/user/positionBatch', {
positionIds: this.$refs.tree2.getCheckedKeys(),
userId: this.userId
}, {}, res => {
if (res.ok) {
+ this.butionLoading = false
this.$message.success('配置岗位成功')
this.modalPost = false
this.getData()
@@ -539,6 +562,7 @@ export default {
},
selectEdit() {
+ this.configOrgManage = false
this.getTree2()
if(this.manageData.length){
this.userId = []
@@ -551,6 +575,13 @@ export default {
this.$message.warning('请选择需要批量配置岗位的角色')
}
},
+ selectEditOfOrg() {
+ this.configOrgManage = true
+ this.getTree2()
+ this.drawerTitle = '批量配置岗位'
+ this.modalPost = true
+ },
+
},
computed: {},
watch: {