From cb3cca00283ab78f151e1fcccdb80aa0ee83a91a Mon Sep 17 00:00:00 2001
From: CD <1103614279@qq.com>
Date: Fri, 14 Oct 2022 10:49:22 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E6=A0=87=E8=AE=A1=E5=88=92=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0=E4=B8=80=E5=88=97=E6=9B=B4=E6=96=B0=E8=AE=B0=E5=BD=95?=
=?UTF-8?q?=EF=BC=8C=E6=9F=A5=E7=9C=8B=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/qbrk/step13.vue | 1 +
.../pages/creatProcess/qbzxdjhgk/step1.vue | 16 +++-
.../enterpriseStandardPlan/index.vue | 87 ++-----------------
3 files changed, 21 insertions(+), 83 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue
index 179dd94b8..78080358a 100644
--- a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue
@@ -2640,6 +2640,7 @@
planForm.planStatus = '4'
planForm.reviseStatus = this.form.reviseStatus
planForm.standCode = this.form.DTQBBHBUSS
+ planForm.standId = res.data
planForm.processType = "buss1";
this.$http.post("esRevisePlan/es-revise-plan/modPlanByState", planForm, {
_this: this
diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue
index 40f9257f5..ae0f7f488 100644
--- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue
@@ -8,7 +8,6 @@
-
@@ -258,6 +257,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 axios from "axios";
import { saveTaskFirst, queryTaskFirst, inboundLiaisonDetail, taskDel, saveTaskForPub } from "api/process";
export default {
@@ -509,6 +509,15 @@ export default {
})
}
},
+ addLog(qbzxdFrom){
+ let json = Object.assign(qbzxdFrom);
+ this.$http.post("esRevisePlanLog/log/addLog", {
+ json: JSON.stringify(json)
+ }, {
+ _this: this
+ }, res => {
+ });
+ },
//流程提交
handleSubmit() {
if(!this.$refs["childForm"].qbfsForm.type){
@@ -548,7 +557,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
- if (this.bpnId !== '') {
+ this.addLog(qbzxdFrom)
+ if (this.bpnId !== '' && this.bpnId !== undefined) {
let taskId = {
id: this.bpnId
}
@@ -556,6 +566,7 @@ export default {
return res
})
}
+
this.isSubmit = false;
this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
}
@@ -588,6 +599,7 @@ export default {
if (res.success) {
this.$message.success(res.message);
this.isSubmit = false;
+ this.addLog(qbzxdFrom)
this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
}
});
diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue
index ef62654aa..49ac48931 100644
--- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue
+++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue
@@ -108,7 +108,7 @@
- {{ scope.row.standCode }}
+ {{ scope.row.standNumber }}
{
- // return bm.indexOf(item) > -1
- // })
- // // 如果当前用户的部门和科室不在全部部门里 就不允许查看
- // if (!inBm) {
- // this.$message.warning('当前用户无权限查看此详情')
- // return false
- // }
- // let routeUrl = this.$router.resolve({
- // name: 'OtherBussStandardDetails',
- // params: {
- // id: item.id,
- // pageType: 'BUSINESS_STAND'
- // }
- // })
- // window.open(routeUrl.href, '_blank')
- // } else if (mj === 'ACF675Z88W') {
- // // C3采取单独授权查看(当前实现只能主起草人、其他起草人看即可,后续的授权4月份开发)
- // const attrInfoMap = item.attrInfoMap || {}
- // const zyqcr = attrInfoMap.ZYQCR || '' // 主要起草人
- // const qtqcr = attrInfoMap.QTQCR || '' // 主要起草人
- // const qcr = [zyqcr, qtqcr].join(',') // 全部起草人 字符串拼接
- // const userInfo = this.userInfo
- // const currentId = userInfo.userId // 当前用户的id
- // // 如果当前用户的部门和科室不在全部部门里 就不允许查看
- // if (!(qcr.indexOf(currentId) > -1)) {
- // // this.$message.warning('当前用户无权限查看此详情')
- // this.$http.get('lawss/sarBussionessStand/selectPerson', {
- // qbid: item.id
- // }, {
- // _this: this
- // }, res => {
- // if (res.data === "1") {
- // // 为1有权限
- // let routeUrl = this.$router.resolve({
- // name: 'OtherBussStandardDetails',
- // params: {
- // id: item.id,
- // pageType: 'BUSINESS_STAND'
- // }
- // })
- // window.open(routeUrl.href, '_blank')
- // } else {
- // this.$message.warning('当前用户无权限查看此详情')
- // return false
- // }
- // }, e => {
- // return false
- //
- // })
- //
- // }
- // }
let routeUrl = this.$router.resolve({
name: 'OtherBussStandardDetails',
params: {
- id: fs ? (fs === 'fs' ? item.standId:item.id) : item.id,
+ id: item.standId,
pageType: 'BUSINESS_STAND'
}
})
@@ -1370,9 +1296,8 @@
},
// 更新事件
relateEvent (item) {
- this.$http.get('lawss/sarUpdLog/getLogList', {
- sarId: item.id,
- sarType: 'FOREIGN_LAWS'
+ this.$http.get('esRevisePlanLog/log/queryLogsByPlanId', {
+ planId: item.id,
}, {
_this: this
}, res => {