From 1e61f966cb557859a05c00a1bf9dad0b4b21f009 Mon Sep 17 00:00:00 2001
From: super_liu <396572590@qq.com>
Date: Mon, 13 Dec 2021 22:35:09 +0800
Subject: [PATCH 01/26] feat:FOTON
---
.../components/EnterpriseStandardDatabase.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
index a28fb7f1d..3c2b9936f 100644
--- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
+++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
@@ -3514,9 +3514,9 @@ export default {
},
// 分页每页显示数改变后方法
pageSizeChange (pageSize) {
- this.sarBussionessSearch.pageSize = pageSize
+ // this.sarBussionessSearch.pageSize = pageSize
+ this.sarBussionessSearch.pageSize = this.$store.getters.userInfo.configContent
this.getBussionStandTable(this.tableFlag)
- // this.sarConfigStandSearch.pageSize = this.$store.getters.userInfo.configContent
this.sarConfigStandSearch.pageSize = this.sarBussionessSearch.pageSize
this.selectConfiguraStand()
// 此处需要调用接口,修改个人配置
From e7bd4e5b3c0b2d5bc03de72d2f67c2ead47b29b4 Mon Sep 17 00:00:00 2001
From: super_liu <396572590@qq.com>
Date: Mon, 13 Dec 2021 23:45:37 +0800
Subject: [PATCH 02/26] feat: There is no way the,
---
.../components/EnterpriseStandardDatabase.vue | 47 ++++++++++---------
1 file changed, 24 insertions(+), 23 deletions(-)
diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
index 3c2b9936f..817edbb80 100644
--- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
+++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
@@ -3500,27 +3500,23 @@ export default {
this.selectConfiguraStand()
}
},
- // 分页点击后方法
- pageChange (page) {
- if (this.tableFlag !== '') {
- this.tableFlag.page = page
- this.sarConfigStandSearch.page = this.tableFlag.page
- } else {
- this.sarBussionessSearch.page = page
- this.sarConfigStandSearch.page = this.sarBussionessSearch.page
- }
- // this.selectConfiguraStand()
- this.getBussionStandTable(this.tableFlag)
- },
- // 分页每页显示数改变后方法
- pageSizeChange (pageSize) {
- // this.sarBussionessSearch.pageSize = pageSize
- this.sarBussionessSearch.pageSize = this.$store.getters.userInfo.configContent
- this.getBussionStandTable(this.tableFlag)
- this.sarConfigStandSearch.pageSize = this.sarBussionessSearch.pageSize
- this.selectConfiguraStand()
- // 此处需要调用接口,修改个人配置
- },
+ // 分页点击后方法
+ pageChange(page) {
+ if (this.tableFlag !== '') {
+ this.tableFlag.page = page
+ } else {
+ this.sarBussionessSearch.page = page
+ }
+ this.sarBussionessSearch.page = page
+ this.getBussionStandTable(this.sarBussionessSearch)
+ },
+ // 分页每页显示数改变后方法
+ pageSizeChange(pageSize) {
+ this.sarBussionessSearch.pageSize = this.$store.getters.userInfo.configContent
+ this.getBussionStandTable(this.tableFlag)
+ this.selectConfiguraStand()
+ // 此处需要调用接口,修改个人配置
+ },
// 查询处于游离态的标准
selectConfiguraStand () {
// this.sarConfigStandSearch.menuId = 'others'
@@ -3540,7 +3536,7 @@ export default {
item.pageSize = this.$store.getters.userInfo.configContent
}
this.sarBussionessSearch.pageSize = this.$store.getters.userInfo.configContent
- const data = item || this.lawsStandInfoSearch
+ const data = item || this.sarBussionessSearch
const formData = {...data}
if (!item) {
formData.menuId = this.sarBussionessSearch.menuId
@@ -3606,7 +3602,10 @@ export default {
}
res.data.list[i].isSubmit = false
}
+ this.standinfoList = []
this.standinfoList = res.data.list
+ console.log(this.standinfoList)
+ console.log(res.data.list)
this.total = res.data.count
if ((this.standinfoList.length === 0 || this.standinfoList === []) && this.sarBussionessSearch.page !== 1) {
this.pageChange(1)
@@ -4030,7 +4029,9 @@ export default {
}
res.data.list[i].isSubmit = false
}
- this.stahndinfoList = res.data.list
+ this.stahndinfoList = []
+ this.stahndinfoList = res.data.list
+ console.log(this.stahndinfoList)
this.total = res.data.count
if ((this.stahndinfoList.length === 0 || this.stahndinfoList === []) && this.sarBussionessSearch.page !== 1) {
this.pageChange(1)
From 673a762afafbe313584fcc21b31b8824c7172c0d Mon Sep 17 00:00:00 2001
From: yanyizhou <2311759275@qq.com>
Date: Tue, 14 Dec 2021 09:57:03 +0800
Subject: [PATCH 03/26] =?UTF-8?q?=E6=B8=85=E5=8D=95=E5=B8=A6=E5=85=A5=20?=
=?UTF-8?q?=E7=BB=9F=E4=B8=80=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../accessStandardsAndRegulations/page/listTracking.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue
index fcf1e5d97..1d879acf3 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue
@@ -720,8 +720,8 @@
@pageChange="handleSelectPageChange"
@pageSizeChange="handleSelectPageSizeChange">
From a954feaefb7b5c6547a054ee25ab0e75bde20fa9 Mon Sep 17 00:00:00 2001
From: yanyizhou <2311759275@qq.com>
Date: Tue, 14 Dec 2021 10:02:39 +0800
Subject: [PATCH 04/26] =?UTF-8?q?=E8=B7=9F=E8=B8=AA=E6=B8=85=E5=8D=95=20?=
=?UTF-8?q?=E5=B8=A6=E5=85=A5=E6=A0=87=E5=87=86=E5=8F=B7=E5=92=8C=E6=A0=87?=
=?UTF-8?q?=E5=87=86=E5=90=8D=E7=A7=B0=EF=BC=8C=E5=BF=85=E5=A1=AB=E9=A1=B9?=
=?UTF-8?q?=E7=9A=84=E7=BA=A2=E8=89=B2=E6=8F=90=E7=A4=BA=E5=BA=94=E8=87=AA?=
=?UTF-8?q?=E5=8A=A8=E6=B6=88=E5=A4=B1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../page/listTracking.vue | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue
index 1d879acf3..a9ab0e1b7 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue
@@ -140,9 +140,7 @@
v-if="showInfoModal"
>
+
+
Date: Tue, 14 Dec 2021 10:30:20 +0800
Subject: [PATCH 05/26] commit
---
.../pages/creatProcess/bzzqyj/step3.vue | 2 +
.../pages/creatProcess/bzzqyj/step4.vue | 78 ++++++++++++-------
.../tabComponents/processCenter/index.vue | 2 +-
3 files changed, 54 insertions(+), 28 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue
index f2baded1b..b431e0e06 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue
@@ -521,6 +521,8 @@
newText: '',
reason: '',
id: id,
+ department: this.$store.getters.userInfo.upDeptName,
+ responUserName: this.$store.getters.userInfo.userName,
}
this.data.push(json)
this.itemId = id
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue
index 1a73bdd22..4689b0ce1 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue
@@ -3,7 +3,7 @@
标准征求意见流程
- 对接人批准
+ 责任部门对接人汇总并选择审批人
+
+
+
+
@@ -212,12 +220,7 @@
:saveLoading="saveLoading"
show-transfer
@transfer="handleTransfer"
- @save="handleSave"
@submit="handleSubmit"
- show-back
- @back="handleSubmitNo"
- approval
- submitBTNText="同意"
>
关闭
+
@@ -281,6 +291,8 @@ export default {
textType: '',
modelList: [],
modelNameList: '',
+ spId: '',
+ spName: '',
},
formRules: {
responUserList: [
@@ -296,6 +308,15 @@ export default {
ProcessTitle
},
methods: {
+ checkedRole2(data) {
+ this.form.spId = data[0].id
+ this.form.spName = data[0].name
+ },
+ choiceZRR(id) {
+ this.nodeList = []
+ this.nodeList.push(id)
+ this.modalshowflag = true;
+ },
itermsConditionsClose () {
this.itermsConditionsFlag = false
},
@@ -367,6 +388,8 @@ export default {
var json = this.json
json.actionFlag = 0
json.commentText = this.commentText
+ json.spId = this.form.spId
+ json.spName = this.form.spName
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -379,26 +402,26 @@ export default {
this.isSubmit = false
})
},
- handleSubmitNo() {
- if (this.commentText) {
- var json = this.json
- json.actionFlag = 1
- json.commentText = this.commentText
- this.$http.post('lawss/activiti/completeTask', {
- json: JSON.stringify(json),
- taskId: this.taskIds,
- userId: this.$store.getters.userInfo.userId
- }, {}, res => {
- if (res.success) {
- this.$message.success('提交成功')
- this.$router.push('/processCenter')
- }
- })
- } else {
- this.$message.warning('请输入反馈意见')
- }
-
- },
+ // handleSubmitNo() {
+ // if (this.commentText) {
+ // var json = this.json
+ // json.actionFlag = 1
+ // json.commentText = this.commentText
+ // this.$http.post('lawss/activiti/completeTask', {
+ // json: JSON.stringify(json),
+ // taskId: this.taskIds,
+ // userId: this.$store.getters.userInfo.userId
+ // }, {}, res => {
+ // if (res.success) {
+ // this.$message.success('提交成功')
+ // this.$router.push('/processCenter')
+ // }
+ // })
+ // } else {
+ // this.$message.warning('请输入反馈意见')
+ // }
+ //
+ // },
getData() {
return new Promise((resolve, reject) => {
inboundLiaisonDetail({
@@ -418,8 +441,9 @@ export default {
this.form.textType = data.textType
this.form.modelList = data.modelList
this.form.modelNameList = data.modelNameList
+ this.form.spId = data.spId || ''
+ this.form.spName = data.spName || ''
this.json = data
- console.log(data);
this.data = data.info || data.data
}).catch(e => {
})
diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
index a1eb3947f..82d854de8 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
@@ -614,7 +614,7 @@ export default {
prcType: row.prcType
}
})
- } else if (row.taskInfo === '标准法规工程师汇总填写处理意见') {
+ } else if (row.taskInfo === '审批人审批') {
this.$router.push({
name: 'bzzqyjStep5',
query: {
From 03511b1399623486c36cfae711d1c93f36a8dcb1 Mon Sep 17 00:00:00 2001
From: yanyizhou <2311759275@qq.com>
Date: Tue, 14 Dec 2021 10:43:02 +0800
Subject: [PATCH 06/26] =?UTF-8?q?=E8=B7=9F=E8=B8=AA=E6=B8=85=E5=8D=95=20?=
=?UTF-8?q?=E5=AE=9E=E6=96=BD=E6=97=B6=E9=97=B4=E5=BA=94=E5=A4=9A=E9=80=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../accessStandardsAndRegulations/page/listTracking.vue | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue
index a9ab0e1b7..ccc1957fe 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue
@@ -203,7 +203,8 @@
>
From 1b466894e0b85780ec1815b5e3cdcfeb6418bb86 Mon Sep 17 00:00:00 2001
From: shenyanpei
Date: Tue, 14 Dec 2021 11:12:37 +0800
Subject: [PATCH 07/26] =?UTF-8?q?=E5=9B=BD=E5=AE=B6=E5=9C=B0=E5=8C=BA?=
=?UTF-8?q?=E6=B8=85=E5=8D=95=E8=AF=A6=E6=83=85=E9=A1=B5=E5=B1=95=E7=A4=BA?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../details/otherStandardDetails/index.vue | 28 +++++++++++++++++--
.../pages/details.vue | 14 ++++++++--
2 files changed, 37 insertions(+), 5 deletions(-)
diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue
index f0beb6e21..08270569f 100644
--- a/src/pages/details/otherStandardDetails/index.vue
+++ b/src/pages/details/otherStandardDetails/index.vue
@@ -3177,7 +3177,6 @@ export default {
displayLocation.forEach(location => {
// 动态属性字段-FBGBJBD 单独添加至基础信息
const list = displayLocation.filter(item => item.label === '过程稿件');
- console.log()
if (location.label === '基础信息' && list && list.length > 0) {
if (!list[0].child) {
location['child1'] = []
@@ -3207,7 +3206,6 @@ export default {
}
}
}
-
const child = location.child || []
const one = []
const half = []
@@ -3232,7 +3230,6 @@ export default {
location.showAll = false
})
console.log(displayLocation)
-
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list', {
id: this.$route.params.id
}, {
@@ -3240,6 +3237,31 @@ export default {
}, res => {
displayLocation.map(item => {
if (item.value === '2URVBGR2Y4UG77KZ5YPL') {
+ item.child.forEach(items =>{
+ let accessCountry = JSON.parse(sessionStorage.getItem("accessCountry"));
+ if (accessCountry.country === undefined) {
+ accessCountry.country = '文本'
+ }
+ if (accessCountry.ssrq === undefined) {
+ accessCountry.ssrq = '-'
+ }
+ if (accessCountry.zccssrqgj === undefined) {
+ accessCountry.zccssrqgj = '-'
+ }
+ if (accessCountry.xcxssrqgj === undefined) {
+ accessCountry.xcxssrqgj = '-'
+ }
+ if(items.attrField === 'SSRQ') {
+ items.attrName = '实施日期' + '(' + accessCountry.country + ')' + ':'
+ item.value = accessCountry.ssrq
+ } else if (items.attrField === 'ZCCSSRQ') {
+ items.attrName = '在产车实施日期' + '(' + accessCountry.country + ')' + ':'
+ item.value = accessCountry.zccssrqgj
+ } else if(items.attrField === 'XCXSSRQ') {
+ items.attrName = '新车型实施日期' + '(' + accessCountry.country + ')' + ':'
+ item.value = accessCountry.xcxssrqgj
+ }
+ })
for (let key in res.data) {
item.one.push({
attrName: key,
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
index 57b044f8d..d8a57b247 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
@@ -418,7 +418,8 @@ export default {
dialogColor: false,
dialogType: "",
color: "",
- isShow: false
+ isShow: false,
+ countryAreaShow: ''
};
},
methods: {
@@ -654,11 +655,19 @@ export default {
},
// 点击查看
handlePreview(data) {
+ console.log(this.countryAreaShow)
+ let item = {
+ country: this.countryAreaShow,
+ ssrq: data.ssrq,
+ xcxssrqgj: data.xcxssrqgj,
+ zccssrqgj: data.zccssrqgj
+ }
+ sessionStorage.setItem("accessCountry", JSON.stringify(item));
let routeUrl = this.$router.resolve({
name: "OtherStandardDetails",
params: {
id: data.id,
- pageType: data.standType
+ pageType: data.standType,
}
});
window.open(routeUrl.href, "_blank");
@@ -773,6 +782,7 @@ export default {
let accessRow = JSON.parse(sessionStorage.getItem("accessRow"));
this.pageId = accessRow.id;
this.sarAccessEO = accessRow;
+ this.countryAreaShow = accessRow.countryAreaShow
this.selectInfobyAccid();
this.getOrgTreeSource();
this.getFileInfo();
From 298321a44de8f8a466db59d46db67eaa6c12f7d1 Mon Sep 17 00:00:00 2001
From: shenyanpei
Date: Tue, 14 Dec 2021 13:23:04 +0800
Subject: [PATCH 08/26] =?UTF-8?q?=E5=9B=BD=E5=AE=B6=E5=9C=B0=E5=8C=BA?=
=?UTF-8?q?=E6=B8=85=E5=8D=95=E8=AF=A6=E6=83=85=E9=A1=B5=E5=B1=95=E7=A4=BA?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../details/otherStandardDetails/index.vue | 22 +++++++++----------
.../pages/details.vue | 1 -
2 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue
index 08270569f..84fe82c79 100644
--- a/src/pages/details/otherStandardDetails/index.vue
+++ b/src/pages/details/otherStandardDetails/index.vue
@@ -3242,24 +3242,22 @@ export default {
if (accessCountry.country === undefined) {
accessCountry.country = '文本'
}
- if (accessCountry.ssrq === undefined) {
- accessCountry.ssrq = '-'
- }
- if (accessCountry.zccssrqgj === undefined) {
- accessCountry.zccssrqgj = '-'
- }
- if (accessCountry.xcxssrqgj === undefined) {
- accessCountry.xcxssrqgj = '-'
- }
if(items.attrField === 'SSRQ') {
items.attrName = '实施日期' + '(' + accessCountry.country + ')' + ':'
- item.value = accessCountry.ssrq
+ if (accessCountry.ssrq !== undefined) {
+ item.value = accessCountry.ssrq
+ }
} else if (items.attrField === 'ZCCSSRQ') {
items.attrName = '在产车实施日期' + '(' + accessCountry.country + ')' + ':'
- item.value = accessCountry.zccssrqgj
+ if (accessCountry.zccssrqgj !== undefined) {
+ item.value = accessCountry.zccssrqgj
+ }
} else if(items.attrField === 'XCXSSRQ') {
items.attrName = '新车型实施日期' + '(' + accessCountry.country + ')' + ':'
- item.value = accessCountry.xcxssrqgj
+ if (accessCountry.xcxssrqgj !== undefined) {
+ item.value = accessCountry.xcxssrqgj
+ }
+
}
})
for (let key in res.data) {
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
index d8a57b247..afb29ac50 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
@@ -655,7 +655,6 @@ export default {
},
// 点击查看
handlePreview(data) {
- console.log(this.countryAreaShow)
let item = {
country: this.countryAreaShow,
ssrq: data.ssrq,
From ccb6d62df7e1d3ef4e1fcf9619ec99d30807268c Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Tue, 14 Dec 2021 13:56:06 +0800
Subject: [PATCH 09/26] commit
---
.../pages/creatProcess/bzzqyj/step3.vue | 1 -
.../pages/creatProcess/bzzqyj/step4-1.vue | 535 +++++++++++
.../pages/creatProcess/bzzqyj/step4-2.vue | 521 ++++++++++
.../pages/creatProcess/bzzqyj/step4.vue | 4 +-
.../pages/creatProcess/bzzqyj/step5.vue | 890 ++++++++++--------
.../tabComponents/processCenter/index.vue | 26 +-
src/router/index.js | 18 +
7 files changed, 1611 insertions(+), 384 deletions(-)
create mode 100644 src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/bzzqyj/step4-2.vue
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue
index b431e0e06..5dc8a02c7 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue
@@ -626,7 +626,6 @@
}, {}, res => {
if (res.ok) {
this.options = res.data.list
- console.log(this.options);
}
}, e => {
})
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue
new file mode 100644
index 000000000..d13400055
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue
@@ -0,0 +1,535 @@
+
+
+
+
+ 标准征求意见流程
+ 责任部门对接人汇总并选择审批人
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.fileName }}
+ 下载
+
+
+
+
+
+
+ - -
+
+
+
+
+
+
+
+
+
+
+
+ 征求意见列表
+
+
+
+
+
+
+
+
+
+
+
+ 查看修改前内容
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }}
+
+
+
+
+ {{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }}
+
+
+
+
+ {{ scope.row.commentText }}
+
+
+
+
+ {{ scope.row.endTime ? '已完成' : '未完成' }}
+
+
+
+
+
+
+
+
+
+
+ 关闭
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-2.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-2.vue
new file mode 100644
index 000000000..623c13b0e
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-2.vue
@@ -0,0 +1,521 @@
+
+
+
+
+ 标准征求意见流程
+ 责任部门对接人汇总并选择审批人
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.fileName }}
+ 下载
+
+
+
+
+
+
+ - -
+
+
+
+
+
+
+
+ 征求意见列表
+
+
+
+
+
+
+
+
+
+
+
+ 查看修改前内容
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }}
+
+
+
+
+ {{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }}
+
+
+
+
+ {{ scope.row.commentText }}
+
+
+
+
+ {{ scope.row.endTime ? '已完成' : '未完成' }}
+
+
+
+
+
+
+
+
+
+
+ 关闭
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue
index 4689b0ce1..63b78d37c 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue
@@ -295,8 +295,8 @@ export default {
spName: '',
},
formRules: {
- responUserList: [
- {required: true, message: '请选择责任人', trigger: 'change'},
+ spId: [
+ {required: true, message: '请选择审批人', trigger: 'change'},
]
},
json: {}
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue
index d6a4098b4..d83214356 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue
@@ -12,11 +12,11 @@
基础信息
@@ -26,32 +26,42 @@
+ disabled
+ v-model="form.endTime"
+ type="date"
+ placeholder="请选择结束日期">
@@ -60,100 +70,79 @@
征求意见列表
+ type="index"
+ label="序号"
+ width="55"
+ align="center">
+ prop="chapterNumber"
+ align="center"
+ sortable
+ label="章条编号"
+ width="101px">
+ prop="chapterName"
+ align="center"
+ width="200px"
+ label="章节名称">
+ prop="commentText"
+ align="center"
+ label="修改意见内容(包括理由或依据)">
+ prop="name"
+ align="center"
+ label="修改前">
-
-
-
-
- {{ scope.row.oldText }}
-
+ 查看修改前内容
-
-
-
-
-
- {{ scope.row.newText }}
-
-
+ prop="name"
+ align="center"
+ label="修改后">
-
-
-
-
-
- {{ scope.row.reason }}
-
-
+ prop="name"
+ align="center"
+ label="修改理由">
+ prop="department"
+ align="center"
+ label="提出部门">
+ prop="responUserName"
+ align="center"
+ label="提出人">
+ prop="state"
+ align="center"
+ label="处理意见">
+ :disabled="scope.row.type"
+ v-model="scope.row.state"
+ collapse-tags
+ style="margin-left: 20px;"
+ placeholder="请选择处理意见">
@@ -161,17 +150,29 @@
+
+
+ 处理
+
+
+ type="textarea"
+ :rows="3"
+ resize="none"
+ placeholder="请输入意见"
+ v-model="commentText">
@@ -179,57 +180,57 @@
+ height="100%"
+ ref="selection"
+ :data="histortData"
+ tooltip-effect="dark"
+ style="width: 100%"
+ border
+ row-key="id"
+ :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
+ prop="createTime"
+ label="创建时间"
+ sortable="custom"
+ align="center">
{{ scope.row.createTime ? $moment(scope.row.createTime).format("YYYY-MM-DD") : "" }}
+ prop="endTime"
+ label="完成时间"
+ align="center">
{{ scope.row.endTime ? $moment(scope.row.endTime).format("YYYY-MM-DD") : "" }}
+ prop="comment"
+ label="流程信息"
+ align="center">
{{ scope.row.commentText }}
+ prop="completeFlag"
+ label="状态"
+ align="center">
{{ scope.row.endTime ? "已完成" : "未完成" }}
@@ -237,13 +238,13 @@
+
+
+
+ 关闭
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
index 82d854de8..00fe29240 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
@@ -616,7 +616,7 @@ export default {
})
} else if (row.taskInfo === '审批人审批') {
this.$router.push({
- name: 'bzzqyjStep5',
+ name: 'bzzqyjStep4-1',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
@@ -625,7 +625,29 @@ export default {
prcType: row.prcType
}
})
- } else if (row.taskInfo === '责任人会签') {
+ } else if (row.taskInfo === '标准法规工程师分线审核') {
+ this.$router.push({
+ name: 'bzzqyjStep4-2',
+ query: {
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ } else if (row.taskInfo === '标准法规工程师汇总') {
+ this.$router.push({
+ name: 'bzzqyjStep5',
+ query: {
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ } else if (row.taskInfo === '责任人会签') {
this.$router.push({
name: 'bzzqyjStep6',
query: {
diff --git a/src/router/index.js b/src/router/index.js
index 3d1818917..535f26f7c 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1129,6 +1129,24 @@ const routes = [
title: '标准征求意见流程'
}
},
+ {
+ path: '/bzzqyjStep4-1',
+ name: 'bzzqyjStep4-1',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue'),
+ meta: {
+ requireAuth: true,
+ title: '标准征求意见流程'
+ }
+ },
+ {
+ path: '/bzzqyjStep4-2',
+ name: 'bzzqyjStep4-2',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzzqyj/step4-2.vue'),
+ meta: {
+ requireAuth: true,
+ title: '标准征求意见流程'
+ }
+ },
{
path: '/bzzqyjStep5',
name: 'bzzqyjStep5',
From bd2b6307588e07217a6ac888291f1e76e81804eb Mon Sep 17 00:00:00 2001
From: shenyanpei
Date: Tue, 14 Dec 2021 14:00:39 +0800
Subject: [PATCH 10/26] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=8F=90=E4=BA=A4?=
=?UTF-8?q?=E5=AE=8C=E6=88=90=E8=8D=89=E7=A8=BF=E5=88=A0=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/bzhHd-rh/step1.vue | 11 ++++++++++-
.../pages/creatProcess/bzhHy-ch/step1.vue | 13 +++++++++++--
.../pages/creatProcess/wfhxzg/step1.vue | 11 ++++++++++-
3 files changed, 31 insertions(+), 4 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue
index e9fd7f355..c3cd904fa 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue
@@ -390,7 +390,7 @@
import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle'
-import {startProcess, saveTaskFirst, completeTask, queryTaskFirst} from '@/api/process.js'
+import {startProcess, saveTaskFirst, completeTask, queryTaskFirst, taskDel} from '@/api/process.js'
export default {
components: {
@@ -494,6 +494,7 @@ export default {
saveLoading: false,
commentText: '',
+ bpnId: ''
}
},
@@ -728,6 +729,14 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('提交成功')
+ if (this.bpnId !== '') {
+ let taskId = {
+ id: this.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
this.$router.push("/processCenter");
}
this.isSubmit = false
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue
index 11f73fd78..b8aafd06c 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue
@@ -333,7 +333,7 @@
import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle'
-import {startProcess, queryTaskFirst, saveTaskFirst, completeTask} from '@/api/process.js'
+import {startProcess, queryTaskFirst, saveTaskFirst, completeTask,taskDel} from '@/api/process.js'
export default {
components: {
@@ -417,7 +417,8 @@ export default {
roleShowflagOne: false,
isSubmit: false,
saveLoading: false,
- commentText: ''
+ commentText: '',
+ bpnId: ''
}
},
mounted() {
@@ -640,6 +641,14 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('提交成功')
+ if (this.bpnId !== '') {
+ let taskId = {
+ id: this.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
this.$router.push("/processCenter");
}
this.isSubmit = false
diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
index bcf5d217c..f98820fdc 100644
--- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
@@ -265,7 +265,7 @@
import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle'
-import { startProcess, completeTask, saveTaskFirst, queryTaskFirst } from '@/api/process.js'
+import { startProcess, completeTask, saveTaskFirst, queryTaskFirst, taskDel } from '@/api/process.js'
import { standUnqualified, dicTypeData } from '@/api/unqualProcess.js'
export default {
name: "wfhxzgStep1",
@@ -314,6 +314,7 @@ export default {
label: 'name'
},
taskID: '',
+ bpnId: '',
}
},
components: {
@@ -516,6 +517,14 @@ export default {
completeTask(params).then(res => {
if(res.success === true) {
this.$message.success('提交成功')
+ if (this.bpnId !== '') {
+ let taskId = {
+ id: this.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
this.$router.push("/processCenter");
}
this.isSubmit = false
From 2dbbb452d5e3a6997bc086a2ff0edf6dc49c6c31 Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Tue, 14 Dec 2021 14:40:39 +0800
Subject: [PATCH 11/26] commit
---
.../pages/creatProcess/bzzqyj/step4-1.vue | 2 +-
.../pages/creatProcess/bzzqyj/step4-2.vue | 2 +-
.../pages/creatProcess/bzzqyj/step4.vue | 200 +++++++++++++++++-
.../pages/creatProcess/bzzqyj/step5.vue | 6 +-
.../pages/creatProcess/bzzqyj/step6.vue | 37 ++++
5 files changed, 241 insertions(+), 6 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue
index d13400055..8a5edbd2d 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue
@@ -3,7 +3,7 @@
标准征求意见流程
- 责任部门对接人汇总并选择审批人
+ 审批人审批
@@ -259,6 +335,18 @@ export default {
name: "bzzqyjStep4",
data() {
return {
+ acceptShow: false,
+ idList: [],
+ options: [],
+ itemId: '',
+ modalshowflag2: false,
+ editForm: {
+ chapterNumber: '',
+ chapterName: '',
+ oldText: '',
+ newText: '',
+ reason: '',
+ },
itermsConditionsFlag: false,
itermsConditionsTitle: '',
drawerModal: false,
@@ -308,6 +396,107 @@ export default {
ProcessTitle
},
methods: {
+ handleSelectionChange(val) {
+ this.idList = []
+ val.forEach(item => {
+ this.idList.push(item.id)
+ })
+ },
+ addDelete() {
+ if (this.idList.length > 0) {
+ this.$confirm('删除选中数据, 是否继续?', '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ for (let a = 0; a < this.data.length; a++) {
+ this.idList.forEach(item => {
+ if (this.data[a].id === item) {
+ this.data.splice(a, 1)
+ }
+ })
+ }
+ }).catch(() => {
+ this.$message({
+ type: 'info',
+ message: '已取消删除'
+ });
+ });
+ } else {
+ this.$message.warning('请选择要删除的数据')
+ }
+ },
+ addModal() {
+ var id = Number(Math.random().toString().substr(3, 3) + Date.now()).toString(36);
+ var json = {
+ chapterNumber: '',
+ chapterName: '',
+ commentText: '',
+ oldText: '',
+ newText: '',
+ reason: '',
+ id: id,
+ department: this.$store.getters.userInfo.upDeptName,
+ responUserName: this.$store.getters.userInfo.userName,
+ }
+ this.data.push(json)
+ this.itemId = id
+ this.editForm = {
+ chapterNumber: '',
+ chapterName: '',
+ oldText: '',
+ newText: '',
+ reason: '',
+ }
+ this.modalshowflag2 = true
+ },
+ getItemList (standId, fileType) { // 查询分解单条款数据
+ this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', {
+ standId: standId,
+ fileType: fileType,
+ pageSize: 9999,
+ page: 1
+ }, {}, res => {
+ if (res.ok) {
+ this.options = res.data.list
+ }
+ }, e => {
+ })
+ },
+ optionsChange (data) {
+ for (let a = 0; a < this.options.length; a++) {
+ if (data === this.options[a].itemsNum) {
+ this.editForm.chapterName = this.options[a].itemsName
+ this.editForm.oldText = this.options[a].termsConditions
+ }
+ }
+ },
+ saveUserInfo2 () {
+ for( let a = 0; a < this.data.length; a++) {
+ if (this.data[a].id === this.itemId) {
+ this.data[a].chapterNumber = this.editForm.chapterNumber
+ this.data[a].chapterName = this.editForm.chapterName
+ this.data[a].oldText = this.editForm.oldText
+ this.data[a].newText = this.editForm.newText
+ this.data[a].reason = this.editForm.reason
+ }
+ }
+ this.modalshowflag2 = false
+ },
+ cancleUserInfo2 () {
+ this.modalshowflag2 = false
+ },
+ itemEdit (row) {
+ this.itemId = row.id
+ this.modalshowflag2 = true
+ this.editForm = {
+ chapterNumber: row.chapterNumber,
+ chapterName: row.chapterName,
+ oldText: row.oldText,
+ newText: row.newText,
+ reason: row.reason,
+ }
+ },
checkedRole2(data) {
this.form.spId = data[0].id
this.form.spName = data[0].name
@@ -429,6 +618,14 @@ export default {
pId: this.pId
}).then(res => {
let data = JSON.parse(res.mesg)
+ let commitStatus = res.commitStatus
+ if(commitStatus && commitStatus > 0){
+ this.acceptShow = true
+ this.submitShow = false
+ }else {
+ this.acceptShow = false
+ this.submitShow = true
+ }
this.form.fjList = data.fjList || data.form.fjList
if (data.fjListId === '') {
this.form.fjListId = ''
@@ -444,6 +641,7 @@ export default {
this.form.spId = data.spId || ''
this.form.spName = data.spName || ''
this.json = data
+ this.getItemList(data.standId,this.form.textValue)
this.data = data.info || data.data
}).catch(e => {
})
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue
index d83214356..995ed952d 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue
@@ -103,7 +103,7 @@
align="center"
label="修改意见内容(包括理由或依据)">
@@ -111,12 +111,12 @@
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue
index e1c15431d..a38e79e0b 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue
@@ -52,6 +52,16 @@
+
+
+
+ - -
+
+
@@ -108,6 +118,9 @@
prop="oldText"
align="center"
label="修改前">
+
+ 查看修改前内容
+
+
+
+
+ 关闭
+
+
@@ -247,6 +269,8 @@ export default {
name: "bzzqyjStep6",
data() {
return {
+ itermsConditionsFlag: false,
+ itermsConditionsTitle: '',
drawerModal: false,
histortData: [],
oldData: [],
@@ -278,6 +302,9 @@ export default {
cname: "", // 名称
fjList: [],
fjListId: '',
+ textType: '',
+ modelList: [],
+ modelNameList: '',
},
formRules: {
responUserList: [
@@ -293,6 +320,13 @@ export default {
ProcessTitle
},
methods: {
+ itermsConditionsClose () {
+ this.itermsConditionsFlag = false
+ },
+ itermsConditionsOpen (row) {
+ this.itermsConditionsFlag = true
+ this.itermsConditionsTitle = row
+ },
downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
},
@@ -453,6 +487,9 @@ export default {
}
})
this.json = data
+ this.form.textType = data.textType
+ this.form.modelList = data.modelList
+ this.form.modelNameList = data.modelNameList
this.data = arr
this.oldData = data.oldinfo
}).catch(e => {
From 6af7b473b0af6fb3e84eb27b27124281bff5b36b Mon Sep 17 00:00:00 2001
From: yanyizhou <2311759275@qq.com>
Date: Tue, 14 Dec 2021 14:52:43 +0800
Subject: [PATCH 12/26] =?UTF-8?q?=E8=B7=9F=E8=B8=AA=E6=B8=85=E5=8D=95=20?=
=?UTF-8?q?=E5=AE=9E=E6=96=BD=E6=97=B6=E9=97=B4=E5=BA=94=E5=A4=9A=E9=80=89?=
=?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=92=8C=E7=BC=96=E8=BE=91=E5=8E=BB?=
=?UTF-8?q?=E9=87=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../page/listTracking.vue | 27 +++++--------------
1 file changed, 6 insertions(+), 21 deletions(-)
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue
index ccc1957fe..eb26ecdbf 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue
@@ -203,6 +203,7 @@
>
@@ -896,7 +897,6 @@ export default {
},
// 点击查看
handlePreview(item) {
- console.log('539',item)
if (item.standType === "INLAND"){
let routeUrlINLAND = this.$router.resolve({
name: 'OtherStandardDetails',
@@ -967,14 +967,12 @@ export default {
this.$message.warning('请选择一条数据')
}
else {
- console.log('619',this.handleSelectForm.dataSource)
this.attributeEO.dataSource = this.handleSelectForm.dataSource
this.attributeEO.lawId = this.handleSelectTableList[0].id
this.attributeEO.lawCode =this.handleSelectTableList[0].standCode || this.handleSelectTableList[0].lawsNumber || this.handleSelectTableList[0].standSort+" "+this.handleSelectTableList[0].standNumber+"-"+this.handleSelectTableList[0].standYear
this.attributeEO.lawName = this.handleSelectTableList[0].standName || this.handleSelectTableList[0].lawsName
this.selectModal = false
}
- console.log('确定',this.handleSelectTableList)
},
//手动查找的清空按钮
clearLawBtn(){
@@ -995,12 +993,10 @@ export default {
//手动查找的查询按钮
searchLawBtn(){
this.lawInfoTableLoading = true
- console.log('533',this.handleSelectForm.dataSource)
if (this.handleSelectForm.dataSource === 'INLAND'){
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage',this.handleSelectForm,{
_this: this
},res=>{
- console.log('国内标准库数据',res)
if (res.ok){
this.lawInfoTable = res.data.list
this.handleSelectForm.total = res.data.count
@@ -1018,12 +1014,10 @@ export default {
this.lawInfoTable = []
this.handleSelectForm.total = 0
})
- console.log('国内标准库')
}else if(this.handleSelectForm.dataSource === 'FOREIGN'){
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage',this.handleSelectForm,{
_this: this
},res=>{
- console.log('海外标准库数据',res)
if (res.ok){
this.lawInfoTable = res.data.list
this.handleSelectForm.total = res.data.count
@@ -1041,12 +1035,10 @@ export default {
this.lawInfoTable = []
this.handleSelectForm.total = 0
})
- console.log('海外标准库')
}else if(this.handleSelectForm.dataSource === 'FOREIGN_LAWS'){
this.$http.get('lawss/sarLawsInfo/page',this.handleSelectForm,{
_this: this
},res=>{
- console.log('国内外政策库数据',res)
if (res.ok){
this.lawInfoTable = res.data.list
this.handleSelectForm.total = res.data.count
@@ -1064,12 +1056,10 @@ export default {
this.lawInfoTable = []
this.handleSelectForm.total = 0
})
- console.log('国内外政策库')
}else if(this.handleSelectForm.dataSource === 'BUSINESS_STAND'){
this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage',this.handleSelectForm,{
_this: this
},res=>{
- console.log('企业标准库数据',res)
if (res.ok){
this.lawInfoTable = res.data.list
this.handleSelectForm.total = res.data.count
@@ -1087,7 +1077,6 @@ export default {
this.lawInfoTable = []
this.handleSelectForm.total = 0
})
- console.log('企业标准库')
}else {
this.$message.warning('请先选择标准/政策来源')
}
@@ -1095,19 +1084,16 @@ export default {
handleSelectPageChange(page){
this.lawInfoTableLoading = true
this.handleSelectForm.page = page
- console.log(this.handleSelectForm.page)
this.searchLawBtn()
},
handleSelectPageSizeChange(pageSize){
this.lawInfoTableLoading = true
this.handleSelectForm.pageSize = pageSize
- console.log(this.handleSelectForm.pageSize)
this.searchLawBtn()
},
// 手动查找 table选择事件
handleSelectTableChange (row) {
this.handleSelectTableList = row
- console.log('我选的',this.handleSelectTableList)
},
//点击手动查找按钮
handleSelect() {
@@ -1121,6 +1107,7 @@ export default {
this.$refs['attributeEO'].validate((valid) => {
if (valid) {
if (this.addOrEdit === 'add') {
+ this.attributeEO.implTime = this.attributeEO.implTime.join(',')
this.submitLoading = true
this.$http.putData(
'sarIssueTrack/issueTrack',
@@ -1143,6 +1130,9 @@ export default {
}
)
} else {
+ if (typeof (this.attributeEO.implTime) === 'object'){
+ this.attributeEO.implTime = this.attributeEO.implTime.join(',')
+ }
this.$http.postData(
'sarIssueTrack/issueTrack',
this.attributeEO,
@@ -1218,6 +1208,7 @@ export default {
this.attributeTitle = '编辑'
this.getDictionarySelList(null)
this.attributeEO = JSON.parse(JSON.stringify(row))
+ this.attributeEO.implTime = row.implTime.split(',')
this.showInfoModal = true
}
},
@@ -1268,14 +1259,12 @@ export default {
});
}).catch(() => {
// 取消删除,清空选择
- // console.log(this.selectedList)
// this.selectedList = [];
})
}
},
// 更多
handleCommand (command) {
- console.log('536',command)
switch (command[1]) {
case '编辑':
this.showAddModel(2, command[0])
@@ -1292,7 +1281,6 @@ export default {
},
//分页查询
searchSarAccess (advanceSearch) {
- console.log('准备开始分页查询')
this.tableLoading = true
this.$http.get("sarIssueTrack/issueTrack", {
current: this.sarSarAccessEOSearch.page,
@@ -1303,13 +1291,11 @@ export default {
_this: this
}, res => {
let arr = res.data;
- console.log('分页查询中',arr)
this.sarAccessListDatas = arr.records
this.sarAccessListTotal = res.data.total
this.tableLoading = false
}, e => {
});
- console.log('分页查询完毕')
},
pageChange (page) {
this.sarSarAccessEOSearch.page = page
@@ -1367,7 +1353,6 @@ export default {
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
- console.log(res.data.WBZTCLASS)
this.setMap(res.data.WBZTCLASS)
}, e => {
})
From 25b42d796a82930bd0f166550312c417646b48d7 Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Tue, 14 Dec 2021 15:19:57 +0800
Subject: [PATCH 13/26] commit
---
.../pages/creatProcess/bzzqyj/step4.vue | 34 +++++++++++--------
.../pages/creatProcess/bzzqyj/step6.vue | 4 +--
.../tabComponents/processCenter/index.vue | 2 +-
3 files changed, 22 insertions(+), 18 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue
index 171ee0437..9ec1b19d8 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue
@@ -573,22 +573,26 @@ export default {
handleSave() {
},
handleSubmit() {
- this.isSubmit = true
- var json = this.json
- json.actionFlag = 0
- json.commentText = this.commentText
- json.spId = this.form.spId
- json.spName = this.form.spName
- this.$http.post('lawss/activiti/completeTask', {
- json: JSON.stringify(json),
- taskId: this.taskIds,
- userId: this.$store.getters.userInfo.userId
- }, {}, res => {
- if (res.success) {
- this.$message.success('提交成功')
- this.$router.push('/processCenter')
+ this.$refs['bzzqyjForm'].validate((valid) => {
+ if (valid) {
+ this.isSubmit = true
+ var json = this.json
+ json.actionFlag = 0
+ json.commentText = this.commentText
+ json.spId = this.form.spId
+ json.spName = this.form.spName
+ this.$http.post('lawss/activiti/completeTask', {
+ json: JSON.stringify(json),
+ taskId: this.taskIds,
+ userId: this.$store.getters.userInfo.userId
+ }, {}, res => {
+ if (res.success) {
+ this.$message.success('提交成功')
+ this.$router.push('/processCenter')
+ }
+ this.isSubmit = false
+ })
}
- this.isSubmit = false
})
},
// handleSubmitNo() {
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue
index a38e79e0b..af890f33e 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue
@@ -427,7 +427,7 @@ export default {
} else {
this.isSubmit = true;
var json = this.json;
- json.actionFlag = 0;
+ json.hqFlag = '0';
json.commentText = this.commentText;
this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(json),
@@ -446,7 +446,7 @@ export default {
if (this.commentText) {
this.isSubmit = true;
var json = this.json;
- json.actionFlag = 1;
+ json.hqFlag = '1';
json.commentText = this.commentText;
this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(json),
diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
index 00fe29240..e172f1a57 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
@@ -658,7 +658,7 @@ export default {
prcType: row.prcType
}
})
- } else if (row.taskInfo === '部长+对接人审核') {
+ } else if (row.taskInfo === '标准法规工程师汇总') {
this.$router.push({
name: 'bzzqyjStep7',
query: {
From 207aef88d423471dbf51095b47fac6ceaac900b6 Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Tue, 14 Dec 2021 15:31:21 +0800
Subject: [PATCH 14/26] commit
---
src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue | 6 +++---
.../pages/processList/tabComponents/processCenter/index.vue | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue
index 95f444881..21d290216 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue
@@ -3,7 +3,7 @@
标准征求意见流程
- 审核
+ 部长及对接人审核
-
+
{
- if (res.success) {
- this.$message.success(res.message);
- this.$router.push("/processCenter");
+ if(!this.commentText){
+ this.$message.warning('请填写审批意见')
+ }else{
+ let son = {
+ signFlag: '2',
+ commentText: this.commentText,
+ dataList: this.dataList,
+ roleForm: this.roleForm
}
- }, e => {
- });
+ var json = JSON.stringify(son)
+ this.$http.post("lawss/activiti/completeTask", {
+ taskIds: this.taskIds,
+ userId: this.userId,
+ json: json
+ }, {
+ _this: this
+ }, res => {
+ if (res.success) {
+ this.$message.success(res.message);
+ this.$router.push("/processCenter");
+ }
+ }, e => {
+ });
+ }
},
//转办按钮
handleTransfer(){
diff --git a/src/pages/processCenter/pages/creatProcess/wbsm/step3.vue b/src/pages/processCenter/pages/creatProcess/wbsm/step3.vue
index 74b15c08e..5da498bb2 100644
--- a/src/pages/processCenter/pages/creatProcess/wbsm/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/wbsm/step3.vue
@@ -60,7 +60,7 @@
-
+
{
- if (res.success) {
- this.$message.success(res.message);
- this.$router.push("/processCenter");
+ if(!this.commentText){
+ this.$message.warning('请填写审批意见')
+ }else{
+ let son = {
+ signFlag: '2',
+ commentText: this.commentText,
+ dataList: this.dataList,
+ roleForm: this.roleForm
}
- }, e => {
- });
+ var json = JSON.stringify(son)
+ this.$http.post("lawss/activiti/completeTask", {
+ taskIds: this.taskIds,
+ userId: this.userId,
+ json: json
+ }, {
+ _this: this
+ }, res => {
+ if (res.success) {
+ this.$message.success(res.message);
+ this.$router.push("/processCenter");
+ }
+ }, e => {
+ });
+ }
},
//转办按钮
handleTransfer(){
diff --git a/src/pages/processCenter/pages/creatProcess/wbsm/step4.vue b/src/pages/processCenter/pages/creatProcess/wbsm/step4.vue
index ec5ac6e64..7a3433f1b 100644
--- a/src/pages/processCenter/pages/creatProcess/wbsm/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/wbsm/step4.vue
@@ -60,7 +60,7 @@
-
+
{
- if (res.success) {
- this.$message.success(res.message);
- this.$router.push("/processCenter");
+ if(!this.commentText){
+ this.$message.warning('请填写审批意见')
+ }else{
+ let son = {
+ signFlag: '2',
+ commentText: this.commentText,
+ dataList: this.dataList,
+ roleForm: this.roleForm
}
- }, e => {
- });
+ var json = JSON.stringify(son)
+ this.$http.post("lawss/activiti/completeTask", {
+ taskIds: this.taskIds,
+ userId: this.userId,
+ json: json
+ }, {
+ _this: this
+ }, res => {
+ if (res.success) {
+ this.$message.success(res.message);
+ this.$router.push("/processCenter");
+ }
+ }, e => {
+ });
+ }
},
//转办按钮
handleTransfer(){
diff --git a/src/pages/processCenter/pages/creatProcess/wbsm/step5.vue b/src/pages/processCenter/pages/creatProcess/wbsm/step5.vue
index 5a6de76a0..fde49c6a6 100644
--- a/src/pages/processCenter/pages/creatProcess/wbsm/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/wbsm/step5.vue
@@ -388,26 +388,30 @@ export default {
},
//驳回按钮
beforeBack(){
- let son = {
- yzFlag: '2',
- commentText: this.commentText,
- dataList: this.dataList,
- roleForm: this.roleForm
- }
- var json = JSON.stringify(son)
- this.$http.post("lawss/activiti/completeTask", {
- taskIds: this.taskIds,
- userId: this.userId,
- json: json
- }, {
- _this: this
- }, res => {
- if (res.success) {
- this.$message.success(res.message);
- this.$router.push("/processCenter");
+ if(!this.commentText){
+ this.$message.warning('请填写审批意见')
+ }else{
+ let son = {
+ yzFlag: '2',
+ commentText: this.commentText,
+ dataList: this.dataList,
+ roleForm: this.roleForm
}
- }, e => {
- });
+ var json = JSON.stringify(son)
+ this.$http.post("lawss/activiti/completeTask", {
+ taskIds: this.taskIds,
+ userId: this.userId,
+ json: json
+ }, {
+ _this: this
+ }, res => {
+ if (res.success) {
+ this.$message.success(res.message);
+ this.$router.push("/processCenter");
+ }
+ }, e => {
+ });
+ }
},
//转办按钮
handleTransfer(){
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step4.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step4.vue
index 9101f2de9..9c2083c7c 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step4.vue
@@ -444,10 +444,9 @@ export default {
},
//提交事件
handleSubmit() {
+ this.peopleFlag = true;
this.listForm.dataList.forEach(item => {
- if (item.liablePeople !== undefined) {
- this.peopleFlag = true;
- } else {
+ if (!item.liablePeople) {
this.peopleFlag = false;
}
});
diff --git a/src/pages/processCenter/pages/phone/wbsm/step4.vue b/src/pages/processCenter/pages/phone/wbsm/step4.vue
new file mode 100644
index 000000000..e966bff51
--- /dev/null
+++ b/src/pages/processCenter/pages/phone/wbsm/step4.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/phone/wbsm/step5.vue b/src/pages/processCenter/pages/phone/wbsm/step5.vue
new file mode 100644
index 000000000..60a5fa44d
--- /dev/null
+++ b/src/pages/processCenter/pages/phone/wbsm/step5.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/processDetail/index.vue b/src/pages/processCenter/pages/processDetail/index.vue
index 8914299d4..249a08612 100644
--- a/src/pages/processCenter/pages/processDetail/index.vue
+++ b/src/pages/processCenter/pages/processDetail/index.vue
@@ -264,7 +264,10 @@ export default {
}else if(prcType === '10'){
//项目清单确认
this.toProcessDetail('xmqdqrStep1-3',row)
- } else if(prcType === '20') {
+ } else if(prcType === '16'){
+ //外部署名
+ this.toProcessDetail('wbsmStep1-5',row)
+ }else if(prcType === '20') {
// 入会流程
this.toProcessDetail('bzrhStep6-1',row)
} else if(prcType === '21') {
diff --git a/src/router/index.js b/src/router/index.js
index 535f26f7c..81a29c1ec 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1511,6 +1511,15 @@ const routes = [
title: '外部署名推荐审批流程'
}
},
+ {
+ path: '/wbsmStep1-5',
+ name: 'wbsmStep1-5',
+ component: () => import('@/pages/processCenter/pages/creatProcess/wbsm/step1-5.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部署名推荐审批流程'
+ }
+ },
{
path: '/cywbbzzxdStep1',
name: 'cywbbzzxdStep1',
@@ -2122,6 +2131,36 @@ const routes = [
title: '加入标准化协会信息提报流程'
}
},
+ {
+ path: '/phoneWbsmStep3',
+ name: 'phoneWbsmStep3',
+ component: () => import('@/pages/processCenter/pages/phone/wbsm/step3.vue'),
+ meta: {
+ isBoolean: true,
+ requireAuth: true,
+ title: '外部署名推荐审批流程'
+ }
+ },
+ {
+ path: '/phoneWbsmStep4',
+ name: 'phoneWbsmStep4',
+ component: () => import('@/pages/processCenter/pages/phone/wbsm/step4.vue'),
+ meta: {
+ isBoolean: true,
+ requireAuth: true,
+ title: '外部署名推荐审批流程'
+ }
+ },
+ {
+ path: '/phoneWbsmStep5',
+ name: 'phoneWbsmStep5',
+ component: () => import('@/pages/processCenter/pages/phone/wbsm/step5.vue'),
+ meta: {
+ isBoolean: true,
+ requireAuth: true,
+ title: '外部署名推荐审批流程'
+ }
+ },
{
path: '/phoneWfhxStep5',
name: 'phoneWfhxStep5',
From b33704a7feca31e3ba2ead218194317b92a37995 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com>
Date: Tue, 14 Dec 2021 16:23:12 +0800
Subject: [PATCH 17/26] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=8F=90=E4=BA=A4?=
=?UTF-8?q?=E5=AE=8C=E6=88=90=E8=8D=89=E7=A8=BF=E5=88=A0=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/bzqdfb/step1-1.vue | 11 ++++++++++-
.../pages/creatProcess/cywbbzzxd/step1.vue | 11 ++++++++++-
.../pages/creatProcess/jrbzhxh/step1.vue | 11 ++++++++++-
.../processCenter/pages/creatProcess/qbfs/step1.vue | 11 ++++++++++-
.../processCenter/pages/creatProcess/qbfz/step1.vue | 11 ++++++++++-
.../pages/creatProcess/qbzxdjhgk/step1.vue | 10 +++++++++-
.../processCenter/pages/creatProcess/wbsm/step1.vue | 11 ++++++++++-
.../processCenter/pages/creatProcess/xmpg/step1-1.vue | 11 ++++++++++-
.../pages/creatProcess/xmpg2/step1-1.vue | 10 +++++++++-
.../pages/creatProcess/xmqdqr/step1-1.vue | 11 ++++++++++-
10 files changed, 98 insertions(+), 10 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-1.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-1.vue
index c3646474c..d924d39ab 100644
--- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-1.vue
@@ -720,7 +720,7 @@
import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle";
-import { saveTaskFirst, queryTaskFirst } from "api/process";
+import { saveTaskFirst, queryTaskFirst, taskDel } from "api/process";
import seeDatalis from "@/pages/localTool/standContrast/pages/seeDatalis";
export default {
@@ -732,6 +732,7 @@ export default {
},
data() {
return {
+ bpnId:'',
fileUrl: "api/att/attFile/upload",
fileMadel: false,
searching: false,
@@ -1144,6 +1145,14 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
+ if (this.bpnId !== '') {
+ let taskId = {
+ id: this.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
this.$router.push("/processCenter");
}
this.isSubmit = false;
diff --git a/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step1.vue b/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step1.vue
index 22e269256..f46d88d82 100644
--- a/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step1.vue
@@ -89,7 +89,7 @@
import ProcessHeader from "../../components/ProcessHeader";
import ProcessTitle from "process/components/ProcessTitle";
import ProcessFooter from "process/components/ProcessFooter";
-import { queryTaskFirst, saveTaskFirst } from "api/process";
+import { queryTaskFirst, saveTaskFirst, taskDel } from "api/process";
export default {
name: "cywbbzzxdStep1",
@@ -100,6 +100,7 @@ export default {
},
data() {
return {
+ bpnId: '',
isSubmit: false,
saveLoading: false,
modalshowflag: false, // drawer开关
@@ -198,6 +199,14 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
+ if (this.bpnId !== '') {
+ let taskId = {
+ id: this.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
this.$router.push("/processCenter");
}
this.isSubmit = false
diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step1.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step1.vue
index 4e2e244b3..21eda1b26 100644
--- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step1.vue
@@ -89,7 +89,7 @@
import ProcessHeader from "../../components/ProcessHeader";
import ProcessTitle from "process/components/ProcessTitle";
import ProcessFooter from "process/components/ProcessFooter";
-import { queryTaskFirst, saveTaskFirst } from "api/process";
+import { queryTaskFirst, saveTaskFirst,taskDel } from "api/process";
export default {
name: "jrbzhxhStep1",
@@ -100,6 +100,7 @@ export default {
},
data() {
return {
+ bpnId: '',
isSubmit: false,
saveLoading: false,
modalshowflag: false, // drawer开关
@@ -197,6 +198,14 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
+ if (this.bpnId !== '') {
+ let taskId = {
+ id: this.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
this.$router.push("/processCenter");
}
this.isSubmit = false
diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue
index a3cdcc630..4b687c61d 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue
@@ -353,7 +353,7 @@
import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle";
-import {saveTaskFirst,queryTaskFirst, inboundLiaisonDetail } from "api/process";
+import {saveTaskFirst,queryTaskFirst, inboundLiaisonDetail,taskDel } from "api/process";
export default {
name: "qbfsStep1",
@@ -364,6 +364,7 @@ export default {
},
data(){
return {
+ bpnId: '',
active: '1',
commentText: '',
fileList: [],
@@ -595,6 +596,14 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message)
+ if (this.bpnId !== '') {
+ let taskId = {
+ id: this.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
this.isSubmit = false
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
}
diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue
index 8c8eee2a6..c93be5d1e 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue
@@ -381,7 +381,7 @@
import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle";
-import {saveTaskFirst,queryTaskFirst, inboundLiaisonDetail } from "api/process";
+import { saveTaskFirst, queryTaskFirst, inboundLiaisonDetail, taskDel } from "api/process";
export default {
name: "qbfzStep1",
@@ -392,6 +392,7 @@ export default {
},
data(){
return {
+ bpnId: '',
active: '1',
commentText: '',
fileList: [],
@@ -636,6 +637,14 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message)
+ if (this.bpnId !== '') {
+ let taskId = {
+ id: this.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
this.isSubmit = false
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
}
diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue
index 167f1f909..74b20d5c7 100644
--- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue
@@ -254,7 +254,7 @@ import rename from "process/creatProcess/qbzxdjhgk/component/rename";
import establish from "process/creatProcess/qbzxdjhgk/component/establish";
import delay from "process/creatProcess/qbzxdjhgk/component/delay";
import cancel from "process/creatProcess/qbzxdjhgk/component/cancel";
-import { saveTaskFirst, queryTaskFirst, inboundLiaisonDetail } from "api/process";
+import { saveTaskFirst, queryTaskFirst, inboundLiaisonDetail, taskDel} from "api/process";
export default {
name: "qbzxdjhgkStep1",
@@ -484,6 +484,14 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
+ if (this.bpnId !== '') {
+ let taskId = {
+ id: this.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
this.isSubmit = false;
this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
}
diff --git a/src/pages/processCenter/pages/creatProcess/wbsm/step1.vue b/src/pages/processCenter/pages/creatProcess/wbsm/step1.vue
index 26f675413..d88f83492 100644
--- a/src/pages/processCenter/pages/creatProcess/wbsm/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/wbsm/step1.vue
@@ -348,11 +348,12 @@
import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle'
-import { startProcess, completeTask, saveTaskFirst, queryTaskFirst, inboundLiaisonDetail } from "@/api/process.js";
+import { startProcess, completeTask, saveTaskFirst, queryTaskFirst, inboundLiaisonDetail,taskDel } from "@/api/process.js";
export default {
name: "wbsmStep1",
data() {
return {
+ bpnId: '',
commentText: '', // 意见
active: '1', // 默认显示
isSubmit: false,
@@ -692,6 +693,14 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
+ if (this.bpnId !== '') {
+ let taskId = {
+ id: this.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
this.$router.push("/processCenter");
}
this.isSubmit = false
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue
index eb446c480..4b10b8d3c 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue
@@ -507,7 +507,7 @@
import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle";
-import { saveTaskFirst, queryTaskFirst } from "api/process";
+import { saveTaskFirst, queryTaskFirst, taskDel } from "api/process";
export default {
name: "xmpgStep1-1",
@@ -518,6 +518,7 @@ export default {
},
data() {
return {
+ bpnId: '',
//折叠的标志,true为折叠,false为不折叠
foldFormFlag: false,
//用来判断提交事件条件是否满足
@@ -886,6 +887,14 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
+ if (this.bpnId !== '') {
+ let taskId = {
+ id: this.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
this.$router.push("/processCenter");
}
this.isSubmit = false;
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue
index 5ed40df6e..ae7967935 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue
@@ -336,7 +336,7 @@
import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle";
-import { saveTaskFirst, queryTaskFirst } from "api/process";
+import { saveTaskFirst, queryTaskFirst,taskDel } from "api/process";
export default {
name: "xmpg2Step1-1",
@@ -625,6 +625,14 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
+ if (this.bpnId !== '') {
+ let taskId = {
+ id: this.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
this.$router.push("/processCenter");
}
this.isSubmit = false;
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-1.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-1.vue
index bbf9fc527..0625ac68f 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-1.vue
@@ -380,7 +380,7 @@
import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle";
-import { queryTaskFirst, saveTaskFirst} from "api/process";
+import { queryTaskFirst, saveTaskFirst,taskDel} from "api/process";
export default {
name: "xmqdqrStep1-1",
@@ -391,6 +391,7 @@ export default {
},
data() {
return {
+ bpnId: '',
active: "1", //默认显示
commentText: "",
modalshowflag: false,
@@ -667,6 +668,14 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
+ if (this.bpnId !== '') {
+ let taskId = {
+ id: this.bpnId
+ }
+ taskDel(taskId).then(res=>{
+ return res
+ })
+ }
this.$router.push("/processCenter");
}
this.isSubmit = false;
From 6c31daaf7be20cc3e4e4427205076c8bcc0b180c Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Tue, 14 Dec 2021 16:31:40 +0800
Subject: [PATCH 18/26] commit
---
.../pages/creatProcess/bzzqyj/step7.vue | 41 ++++++++++++++++++-
.../pages/creatProcess/bzzqyj/step8.vue | 41 ++++++++++++++++++-
.../pages/creatProcess/bzzqyj/step9.vue | 39 +++++++++++++++++-
.../tabComponents/processCenter/index.vue | 2 +-
4 files changed, 117 insertions(+), 6 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue
index 21d290216..b161fb19f 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue
@@ -46,12 +46,22 @@
style="display: none;"
>
@@ -108,6 +118,9 @@
prop="oldText"
align="center"
label="修改前">
+
+ 查看修改前内容
+
+
+
+
+ 关闭
+
+
@@ -247,7 +269,9 @@ export default {
name: "bzzqyjStep7",
data() {
return {
- drawerModal: false,
+ itermsConditionsFlag: false,
+ itermsConditionsTitle: '',
+ drawerModal: false,
histortData: [],
oldData: [],
data: [],
@@ -275,6 +299,9 @@ export default {
cname: '', // 名称
fjList: [],
fjListId: '',
+ textType: '',
+ modelList: [],
+ modelNameList: '',
},
formRules: {
responUserList: [
@@ -290,6 +317,13 @@ export default {
ProcessTitle
},
methods: {
+ itermsConditionsClose () {
+ this.itermsConditionsFlag = false
+ },
+ itermsConditionsOpen (row) {
+ this.itermsConditionsFlag = true
+ this.itermsConditionsTitle = row
+ },
downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
},
@@ -449,6 +483,9 @@ export default {
arr.push(item)
}
})
+ this.form.textType = data.textType
+ this.form.modelList = data.modelList
+ this.form.modelNameList = data.modelNameList
this.json = data
this.data = arr
}).catch(e => {
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue
index ede304019..1eea3d91b 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue
@@ -46,12 +46,22 @@
style="display: none;"
>
@@ -108,6 +118,9 @@
prop="oldText"
align="center"
label="修改前">
+
+ 查看修改前内容
+
+
+
+
+ 关闭
+
+
@@ -247,7 +269,9 @@ export default {
name: "bzzqyjStep8",
data() {
return {
- drawerModal: false,
+ itermsConditionsFlag: false,
+ itermsConditionsTitle: '',
+ drawerModal: false,
histortData: [],
oldData: [],
data: [],
@@ -275,6 +299,9 @@ export default {
cname: '', // 名称
fjList: [],
fjListId: '',
+ textType: '',
+ modelList: [],
+ modelNameList: '',
},
formRules: {
responUserList: [
@@ -290,6 +317,13 @@ export default {
ProcessTitle
},
methods: {
+ itermsConditionsClose () {
+ this.itermsConditionsFlag = false
+ },
+ itermsConditionsOpen (row) {
+ this.itermsConditionsFlag = true
+ this.itermsConditionsTitle = row
+ },
downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
},
@@ -450,6 +484,9 @@ export default {
}
})
this.json = data
+ this.form.textType = data.textType
+ this.form.modelList = data.modelList
+ this.form.modelNameList = data.modelNameList
this.data = arr
this.oldData = data.oldinfo
}).catch(e => {
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue
index ee88c8fac..becd23574 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue
@@ -46,12 +46,22 @@
style="display: none;"
>
@@ -108,6 +118,9 @@
prop="oldText"
align="center"
label="修改前">
+
+ 查看修改前内容
+
+
+
+
+ 关闭
+
+
@@ -247,6 +269,8 @@ export default {
name: "bzzqyjStep9",
data() {
return {
+ itermsConditionsFlag: false,
+ itermsConditionsTitle: '',
drawerModal: false,
histortData: [],
oldData: [],
@@ -275,6 +299,9 @@ export default {
cname: "", // 名称
fjList: [],
fjListId: '',
+ textType: '',
+ modelList: [],
+ modelNameList: '',
},
formRules: {
responUserList: [
@@ -290,6 +317,13 @@ export default {
ProcessTitle
},
methods: {
+ itermsConditionsClose () {
+ this.itermsConditionsFlag = false
+ },
+ itermsConditionsOpen (row) {
+ this.itermsConditionsFlag = true
+ this.itermsConditionsTitle = row
+ },
downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
},
@@ -450,6 +484,9 @@ export default {
}
})
this.json = data
+ this.form.textType = data.textType
+ this.form.modelList = data.modelList
+ this.form.modelNameList = data.modelNameList
this.data = arr
this.oldData = data.oldinfo
}).catch(e => {
diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
index 5382aa885..2bdb5bb4c 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
@@ -680,7 +680,7 @@ export default {
prcType: row.prcType
}
})
- } else {
+ } else if (row.taskInfo === '工程研究总院院长批准') {
this.$router.push({
name: 'bzzqyjStep9',
query: {
From 8c21952c09c9d36a5ce70decbe0256c5adb07893 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com>
Date: Tue, 14 Dec 2021 17:04:31 +0800
Subject: [PATCH 19/26] =?UTF-8?q?=E5=AE=A1=E6=89=B9=E6=84=8F=E8=A7=81?=
=?UTF-8?q?=E6=A0=A1=E9=AA=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/processCenter/pages/creatProcess/xmpg/step5.vue | 4 ++++
src/pages/processCenter/pages/creatProcess/xmpg/step6.vue | 3 ++-
src/pages/processCenter/pages/creatProcess/xmpg/step7.vue | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue
index 9c784772c..6d1a5e859 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue
@@ -565,6 +565,9 @@ export default {
},
//驳回事件
beforeBack () {
+ if(!this.commentText){
+ this.$message.warning('请填写审批意见')
+ }else{
this.listForm.applyUpdUserId = this.dataList[0].distributePersonId
this.listForm.commentText = this.commentText;
this.listForm.dataList = this.dataList
@@ -583,6 +586,7 @@ export default {
}
}, e => {
});
+ }
},
//提交事件
handleSubmit() {
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
index 2fea7067f..752ac32a1 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
@@ -561,7 +561,8 @@ export default {
})
},
//驳回事件
- beforeBack () { if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
+ beforeBack () {
+ if(!this.commentText){
this.$message.warning('请填写审批意见')
} else {
this.listForm.fenFlag = '2'
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step7.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step7.vue
index 8c069a740..8e1ec4a7b 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step7.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step7.vue
@@ -560,7 +560,7 @@ export default {
//驳回事件
beforeBack () {
- if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
+ if(!this.commentText){
this.$message.warning('请填写审批意见')
} else {
this.listForm.fenFlag = '2'
From 4b5b3669c93e308860c7cfc74659d0e3c50c7a5c Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Tue, 14 Dec 2021 17:07:28 +0800
Subject: [PATCH 20/26] commit
---
.../pags/consultationDetails.vue | 56 +++++++++++++++++--
1 file changed, 52 insertions(+), 4 deletions(-)
diff --git a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue
index 884424ec9..76eb6ce52 100644
--- a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue
+++ b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue
@@ -90,6 +90,9 @@
align="center"
label="修改前"
>
+
+ 查看修改前内容
+
@@ -155,10 +158,16 @@
-
+
+
+
-
+
@@ -177,6 +186,15 @@
数据加载中……
+
+
+
+ 关闭
+
+
@@ -185,6 +203,9 @@ export default {
name: 'consultationDetails',
data() {
return {
+ itermsConditionsFlag: false,
+ itermsConditionsTitle: '',
+ options: [],
fileInfoList: [],
itemData: this.$route.query.item,
id: '', // 选中id
@@ -228,6 +249,20 @@ export default {
}
},
methods: {
+ itermsConditionsClose () {
+ this.itermsConditionsFlag = false
+ },
+ itermsConditionsOpen (row) {
+ this.itermsConditionsFlag = true
+ this.itermsConditionsTitle = row
+ },
+ optionsChange (data) {
+ for (let a = 0; a < this.options.length; a++) {
+ if (data === this.options[a].itemsNum) {
+ this.opinionContent.oldText = this.options[a].termsConditions
+ }
+ }
+ },
downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
},
@@ -396,6 +431,18 @@ export default {
}
},
mounted() {
+ let json = JSON.parse(this.$route.query.item.files)[0]
+ this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', {
+ standId: json.standId,
+ fileType: json.standFileClassify,
+ pageSize: 9999,
+ page: 1
+ }, {}, res => {
+ if (res.ok) {
+ this.options = res.data.list
+ }
+ }, e => {
+ })
this.getList()
this.getIdeaKey()
this.getFileInfo()
@@ -535,7 +582,8 @@ export default {
.add-demo {
.search-area {
- height: 100%;
+ height: calc(~'100% - 55px');
+ overflow: auto;
}
::v-deep .el-textarea__inner {
From ebd324f4459161f2b5792253f0e9fa59d1f8b376 Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Tue, 14 Dec 2021 17:15:48 +0800
Subject: [PATCH 21/26] commit
---
.../workingGroup/components/workingGroup1/index.vue | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/pages/regulatoryRepository/workingGroup/components/workingGroup1/index.vue b/src/pages/regulatoryRepository/workingGroup/components/workingGroup1/index.vue
index 3d2e79b8e..3bc0a8498 100644
--- a/src/pages/regulatoryRepository/workingGroup/components/workingGroup1/index.vue
+++ b/src/pages/regulatoryRepository/workingGroup/components/workingGroup1/index.vue
@@ -1047,17 +1047,18 @@
if (this.pType === '选择联络人') {
this.addForm.wgNetInfos[this.pIndex].name = data[0].name
this.addForm.wgNetInfos[this.pIndex].netId = data[0].id
- this.addForm.wgNetInfos[this.pIndex].unit = data[0].positionName
+ this.addForm.wgNetInfos[this.pIndex].unit = data[0].unit
this.addForm.wgNetInfos[this.pIndex].phone = data[0].phone
this.addForm.wgNetInfos[this.pIndex].email = data[0].email
} else if (this.pType === '选择我司人员') {
+ console.log(data[0]);
this.addForm.wgDepts[this.pIndex].name = data[0].name
this.addForm.wgDepts[this.pIndex].deptPeopleId = data[0].id
this.addForm.wgDepts[this.pIndex].phone = data[0].phone
this.addForm.wgDepts[this.pIndex].email = data[0].email
this.addForm.wgDepts[this.pIndex].deptId = data[0].institutionId
this.addForm.wgDepts[this.pIndex].deptName = data[0].institutionName
- this.addForm.wgDepts[this.pIndex].unit = data[0].positionId
+ this.addForm.wgDepts[this.pIndex].unit = data[0].unit
this.addForm.wgDepts[this.pIndex].unitName = data[0].positionName
}
},
From 360351f3ffec858fe5add2fb5312ed458b4968d3 Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Tue, 14 Dec 2021 18:34:52 +0800
Subject: [PATCH 22/26] commit
---
.../pages/creatProcess/bzdy/step1-1.vue | 92 ++++++++++++---
.../pages/creatProcess/bzdy/step1.vue | 95 ++++++++++++---
.../pages/creatProcess/bzdy/step2.vue | 56 ++++++++-
.../pages/creatProcess/bzdy/step3.vue | 89 +++++++++++++--
.../pages/creatProcess/bzdy/step4.vue | 108 +++++++++++++++---
.../components/workingGroup1/index.vue | 1 -
6 files changed, 380 insertions(+), 61 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue
index 88b0b5f59..cbc6b1261 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue
@@ -46,20 +46,26 @@
v-model="form.modelNameList"
clearable
>
-
-
- {{ item.name }}
+
-
-
- 点击上传
-
-
+
+ 点击上传
+
-
-
- {{ item.name }}
+
-
+
{
+ getBusStandFileByAttId({
+ attId
+ }).then(res => {
+ if (res.ok) {
+ resolve(res.data)
+ } else {
+ reject()
+ }
+ }).catch(e => {
+ reject(e)
+ })
+ })
+ },
+ handlePreview(file) {
+ const attId = file.attId
+ this.getBusStandFileByAttId(attId)
+ .then(res => {
+ if(res){
+ const editFileInfo = res
+ if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
+ window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
+ }else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
+ window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }else {
+ const nowTime = new Date().getTime()
+ // window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
+ window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
+ }
+ // window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }
+ }).catch(e => {
+ this.$message.warning('文件不存在,预览失败')
+ })
+ },
foldForm() {
this.foldFormFlag = !this.foldFormFlag
},
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue
index d697549e6..7b3be3269 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue
@@ -24,7 +24,7 @@
-
+
-
-
- {{ item.name }}
+
-
-
- 点击上传
-
-
+
+ 点击上传
+
-
-
- {{ item.name }}
+
-
+
{
+ getBusStandFileByAttId({
+ attId
+ }).then(res => {
+ if (res.ok) {
+ resolve(res.data)
+ } else {
+ reject()
+ }
+ }).catch(e => {
+ reject(e)
+ })
+ })
+ },
+ handlePreview(file) {
+ const attId = file.attId
+ this.getBusStandFileByAttId(attId)
+ .then(res => {
+ if(res){
+ const editFileInfo = res
+ if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
+ window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
+ }else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
+ window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }else {
+ const nowTime = new Date().getTime()
+ // window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
+ window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
+ }
+ // window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }
+ }).catch(e => {
+ this.$message.warning('文件不存在,预览失败')
+ })
+ },
foldForm() {
this.foldFormFlag = !this.foldFormFlag
},
@@ -375,7 +434,7 @@ export default {
var fileSuffix = filename.substring(index1, index2)
// const fileSuffix = file.name.split('.')[1] // 后缀名
// 判断上传文件格式
- if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
+ if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.XLS' || fileSuffix === '.XLSX') {
return true
} else {
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue
index c861e3383..5535f6b24 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue
@@ -24,7 +24,7 @@
-
+
-
@@ -53,8 +59,14 @@
-
@@ -180,7 +192,7 @@
import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle'
- import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew} from 'api/process'
+ import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew,getBusStandFileByAttId} from 'api/process'
import axios from "axios";
export default {
@@ -224,6 +236,42 @@
ProcessTitle
},
methods: {
+ getBusStandFileByAttId(attId) {
+ return new Promise((resolve, reject) => {
+ getBusStandFileByAttId({
+ attId
+ }).then(res => {
+ if (res.ok) {
+ resolve(res.data)
+ } else {
+ reject()
+ }
+ }).catch(e => {
+ reject(e)
+ })
+ })
+ },
+ clickButtonToUpload(file) {
+ const attId = file.attId
+ this.getBusStandFileByAttId(attId)
+ .then(res => {
+ if(res){
+ const editFileInfo = res
+ if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
+ window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
+ }else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
+ window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }else {
+ const nowTime = new Date().getTime()
+ // window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
+ window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
+ }
+ // window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }
+ }).catch(e => {
+ this.$message.warning('文件不存在,预览失败')
+ })
+ },
handleTransfer() {
this.drawerModal = true
},
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue
index a7d8f887a..c9e2b3e0d 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue
@@ -24,7 +24,7 @@
-
+
-
@@ -53,8 +59,14 @@
-
@@ -72,7 +84,7 @@
-
+
-
+
{{ form.fileName }}
+
{
+ getBusStandFileByAttId({
+ attId
+ }).then(res => {
+ if (res.ok) {
+ resolve(res.data)
+ } else {
+ reject()
+ }
+ }).catch(e => {
+ reject(e)
+ })
+ })
+ },
+ clickButtonToUpload2(file) {
+ const attId = file
+ this.getBusStandFileByAttId(attId)
+ .then(res => {
+ if(res){
+ const editFileInfo = res
+ if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
+ window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
+ }else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
+ window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }else {
+ const nowTime = new Date().getTime()
+ // window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
+ window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
+ }
+ // window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }
+ }).catch(e => {
+ this.$message.warning('文件不存在,预览失败')
+ })
+ },
+ clickButtonToUpload(file) {
+ const attId = file.attId
+ this.getBusStandFileByAttId(attId)
+ .then(res => {
+ if(res){
+ const editFileInfo = res
+ if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
+ window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
+ }else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
+ window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }else {
+ const nowTime = new Date().getTime()
+ // window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
+ window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
+ }
+ // window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }
+ }).catch(e => {
+ this.$message.warning('文件不存在,预览失败')
+ })
+ },
handleTransfer() {
this.drawerModal = true
},
@@ -323,7 +398,7 @@
}, e => {})
},
updateFile (item) {
- window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
+ window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.fileId
},
// 导入按钮 上传之前的钩子
beginImportFile (file) {
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step4.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step4.vue
index f5f1840bb..b2e23d503 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step4.vue
@@ -24,7 +24,7 @@
-
+
-
@@ -53,22 +59,28 @@
-
- -
-
-
- {{ form.fileName }}
-
-
- - -
-
-
+
+
+
+
+
+
+
+
@@ -82,8 +94,18 @@
-
- {{ form.fileName }}
+
+
+
+ {{ form.fileName }}
+
+
+
- -
@@ -205,7 +227,7 @@
import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle'
- import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew} from 'api/process'
+ import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew,getBusStandFileByAttId} from 'api/process'
import axios from "axios";
export default {
@@ -249,6 +271,63 @@
ProcessTitle
},
methods: {
+ getBusStandFileByAttId(attId) {
+ return new Promise((resolve, reject) => {
+ getBusStandFileByAttId({
+ attId
+ }).then(res => {
+ if (res.ok) {
+ resolve(res.data)
+ } else {
+ reject()
+ }
+ }).catch(e => {
+ reject(e)
+ })
+ })
+ },
+ clickButtonToUpload2(file) {
+ const attId = file
+ this.getBusStandFileByAttId(attId)
+ .then(res => {
+ if(res){
+ const editFileInfo = res
+ if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
+ window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
+ }else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
+ window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }else {
+ const nowTime = new Date().getTime()
+ // window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
+ window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
+ }
+ // window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }
+ }).catch(e => {
+ this.$message.warning('文件不存在,预览失败')
+ })
+ },
+ clickButtonToUpload(file) {
+ const attId = file.attId
+ this.getBusStandFileByAttId(attId)
+ .then(res => {
+ if(res){
+ const editFileInfo = res
+ if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
+ window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
+ }else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
+ window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }else {
+ const nowTime = new Date().getTime()
+ // window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
+ window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
+ }
+ // window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }
+ }).catch(e => {
+ this.$message.warning('文件不存在,预览失败')
+ })
+ },
handleTransfer() {
this.drawerModal = true
},
@@ -350,6 +429,7 @@
this.json = data || data.form
this.form.file = data.fileId || data.form.fileId
this.form.fileName = data.fileName || data.form.fileName
+ this.form.fileId = data.fileId || data.form.fileId
this.form.modelList = data.modelList || data.form.modelList
this.form.fjList = data.fjList || data.form.fjList
}).catch(e => {
diff --git a/src/pages/regulatoryRepository/workingGroup/components/workingGroup1/index.vue b/src/pages/regulatoryRepository/workingGroup/components/workingGroup1/index.vue
index 3bc0a8498..69b40fafe 100644
--- a/src/pages/regulatoryRepository/workingGroup/components/workingGroup1/index.vue
+++ b/src/pages/regulatoryRepository/workingGroup/components/workingGroup1/index.vue
@@ -1051,7 +1051,6 @@
this.addForm.wgNetInfos[this.pIndex].phone = data[0].phone
this.addForm.wgNetInfos[this.pIndex].email = data[0].email
} else if (this.pType === '选择我司人员') {
- console.log(data[0]);
this.addForm.wgDepts[this.pIndex].name = data[0].name
this.addForm.wgDepts[this.pIndex].deptPeopleId = data[0].id
this.addForm.wgDepts[this.pIndex].phone = data[0].phone
From 768a7950843400bb2e1b5751ec9a871b532d4307 Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Tue, 14 Dec 2021 18:59:28 +0800
Subject: [PATCH 23/26] commit
---
.../processCenter/pages/creatProcess/bzzqyj/step6.vue | 8 +++++---
.../processCenter/pages/creatProcess/bzzqyj/step7.vue | 4 ++--
.../processCenter/pages/creatProcess/bzzqyj/step8.vue | 5 ++---
.../processCenter/pages/creatProcess/bzzqyj/step9.vue | 5 ++---
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue
index af890f33e..d5dd0855d 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue
@@ -72,12 +72,12 @@
生成汇总单
生成上报意见
@@ -389,6 +389,8 @@ export default {
}
},
upload(row, title) {
+ console.log(row);
+ return
var params = {
columnName: {
chapterNumber: "章条编号",
@@ -479,6 +481,7 @@ export default {
this.form.cid = data.cid || data.form.cid;
this.form.endTime = data.endTime || data.form.endTime;
this.form.cname = data.cname || data.form.cname;
+
this.oldData = JSON.parse(JSON.stringify(data.info))
var arr = []
data.info.forEach(item => {
@@ -491,7 +494,6 @@ export default {
this.form.modelList = data.modelList
this.form.modelNameList = data.modelNameList
this.data = arr
- this.oldData = data.oldinfo
}).catch(e => {
});
});
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue
index b161fb19f..6e959ee91 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue
@@ -72,12 +72,12 @@
生成汇总单
生成上报意见
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue
index 1eea3d91b..31006296c 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue
@@ -72,12 +72,12 @@
生成汇总单
生成上报意见
@@ -488,7 +488,6 @@ export default {
this.form.modelList = data.modelList
this.form.modelNameList = data.modelNameList
this.data = arr
- this.oldData = data.oldinfo
}).catch(e => {
})
})
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue
index becd23574..95c0b267d 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue
@@ -72,12 +72,12 @@
生成汇总单
生成上报意见
@@ -488,7 +488,6 @@ export default {
this.form.modelList = data.modelList
this.form.modelNameList = data.modelNameList
this.data = arr
- this.oldData = data.oldinfo
}).catch(e => {
});
});
From 86b18d006e9707c077be22b27057df1fd2e12e39 Mon Sep 17 00:00:00 2001
From: shenyanpei
Date: Tue, 14 Dec 2021 19:09:34 +0800
Subject: [PATCH 24/26] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=A0=B7=E5=BC=8F?=
=?UTF-8?q?=EF=BC=8C=E5=B7=A5=E4=BD=9C=E7=BB=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/solicitopinions/index.vue | 5 ++
src/pages/home2/index.vue | 3 +
.../pages/creatProcess/bzhHd-rh/step1.vue | 73 +++++++++++++------
.../pages/creatProcess/bzhHd-rh/step2.vue | 7 +-
.../pages/creatProcess/bzhHd-rh/step3.vue | 7 +-
.../pages/creatProcess/bzhHd-rh/step4.vue | 7 +-
.../pages/creatProcess/bzhHd-rh/step5.vue | 7 +-
.../pages/creatProcess/bzhHd-rh/step6-1.vue | 7 +-
.../pages/creatProcess/bzhHd-rh/step6.vue | 7 +-
.../pages/creatProcess/bzhHh-hh/step1.vue | 24 +++++-
.../pages/creatProcess/bzhHh-hh/step2.vue | 21 +++++-
.../pages/creatProcess/bzhHy-ch/step1.vue | 68 ++++++++++++-----
.../pages/creatProcess/bzhHy-ch/step2.vue | 9 ++-
.../pages/creatProcess/bzhHy-ch/step3.vue | 9 ++-
.../pages/creatProcess/bzhHy-ch/step4.vue | 7 +-
.../pages/creatProcess/bzhHy-ch/step5.vue | 7 +-
.../pages/creatProcess/bzhHy-ch/step6-1.vue | 7 +-
.../pages/creatProcess/bzhHy-ch/step6.vue | 7 +-
18 files changed, 219 insertions(+), 63 deletions(-)
diff --git a/src/pages/home2/components/solicitopinions/index.vue b/src/pages/home2/components/solicitopinions/index.vue
index 1b36284bd..c01a2fe4e 100644
--- a/src/pages/home2/components/solicitopinions/index.vue
+++ b/src/pages/home2/components/solicitopinions/index.vue
@@ -25,6 +25,7 @@
{{ scope.row.cid }}
@@ -91,6 +92,10 @@ export default {