![]()
@@ -219,7 +219,7 @@
-
+
![]()
@@ -352,19 +352,19 @@ export default {
name: 'zchhStep1'
})
break
- case '18':
+ case '16':
//外部署名推荐审批流程
this.$router.push({
name: 'wbsmStep1'
})
break
- case '19':
+ case '15':
//加入标准化协会信息提报流程
this.$router.push({
name: 'jrbzhxhStep1'
})
break
- case '20':
+ case '14':
//参与外部标准制修订信息提报流程
this.$router.push({
name: 'cywbbzzxdStep1'
diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
index 6c76b6aad..0c4a73e68 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
@@ -869,6 +869,32 @@ export default {
})
}
break
+ case '15':
+ if (row.taskInfo === '备案任务下发') {
+ this.$router.push({
+ name: 'jrbzhxhStep2',
+ query: {
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ }
+ // else if(row.taskInfo === '标准法规部经理审批'){
+ // this.$router.push({
+ // name: 'xmqdqrStep3',
+ // query: {
+ // taskIds: row.taskIds,
+ // prcId: row.prcId,
+ // prcNum: row.prcNum,
+ // prcName: row.prcName,
+ // prcType: row.prcType
+ // }
+ // })
+ // }
+ break
}
},
...mapMutations(['setProcess', 'setHandleInfo']),
diff --git a/src/router/index.js b/src/router/index.js
index 6bdd35887..1ad0b984b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1033,6 +1033,15 @@ const routes = [
title: '参与外部标准制修订信息提报流程'
}
},
+ {
+ path: '/cywbbzzxdStep2',
+ name: 'cywbbzzxdStep2',
+ component: () => import('@/pages/processCenter/pages/creatProcess/cywbbzzxd/step2.vue'),
+ meta: {
+ requireAuth: true,
+ title: '参与外部标准制修订信息提报流程'
+ }
+ },
{
path: '/jrbzhxhStep1',
name: 'jrbzhxhStep1',
@@ -1041,7 +1050,16 @@ const routes = [
requireAuth: true,
title: '加入标准化协会信息提报流程'
}
- }
+ },
+ {
+ path: '/jrbzhxhStep2',
+ name: 'jrbzhxhStep2',
+ component: () => import('@/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue'),
+ meta: {
+ requireAuth: true,
+ title: '加入标准化协会信息提报流程'
+ }
+ },
]
},
// 本地工具
From a5ef6d362535738f86cc25f380832cf75ca03533 Mon Sep 17 00:00:00 2001
From: "zhaokaiyao@91isoft.com" <6922339zky>
Date: Tue, 26 Oct 2021 17:21:36 +0800
Subject: [PATCH 05/41] =?UTF-8?q?=E5=B8=A6=E5=85=A5=E6=A0=87=E5=87=86,?=
=?UTF-8?q?=E5=8B=98=E8=AF=AF=E4=BB=B6=E6=97=A0=E6=B3=95=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?.switch=E6=B2=A1=E5=86=99break(=EF=BC=A0=5F=EF=BC=A0;)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/bzrk/step1.vue | 86 ++++++++++---------
1 file changed, 46 insertions(+), 40 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
index da2503594..90c8e7b01 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
@@ -1814,47 +1814,52 @@
// 带入
case 2:
if (this.standardCheckedList.length === 1) {
- const bringData = this.standardCheckedList[0]
- bringData.signFlag = this.form.signFlag && this.form.signFlag != '' ? this.form.signFlag : '0'
- bringData.standInData = this.form.standInData && this.form.standInData != '' ? this.form.standInData : '0'
+ this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
+ _this: this
+ }, res => {
+ if(res && res.data){
+ const bringData = res.data
+ bringData.signFlag = this.form.signFlag && this.form.signFlag != '' ? this.form.signFlag : '0'
+ bringData.standInData = this.form.standInData && this.form.standInData != '' ? this.form.standInData : '0'
- const json = Object.assign(bringData, bringData.attrInfoCaseMap);
- this.form = JSON.parse(JSON.stringify(json))
+ const json = Object.assign(bringData, bringData.attrInfoCaseMap);
+ this.form = JSON.parse(JSON.stringify(json))
- this.form.qcdw = JSON.parse(JSON.stringify(json)).qcdw && JSON.parse(JSON.stringify(json)).qcdw !== '[]' ? JSON.parse(JSON.stringify(json)).qcdw.split(',') : []
- this.form.wssmr = JSON.parse(JSON.stringify(json)).wssmr && JSON.parse(JSON.stringify(json)).wssmr !== '[]' ? JSON.parse(JSON.stringify(json)).wssmr.split(',') : []
- this.form.zrgcs = JSON.parse(JSON.stringify(json)).zrgcs && JSON.parse(JSON.stringify(json)).zrgcs !== '[]' ? JSON.parse(JSON.stringify(json)).zrgcs.split(',') : []
- this.form.zrbm = JSON.parse(JSON.stringify(json)).zrbm && JSON.parse(JSON.stringify(json)).zrbm !== '[]' ? JSON.parse(JSON.stringify(json)).zrbm.split(',') : []
- this.form.syrz = JSON.parse(JSON.stringify(json)).syrz && JSON.parse(JSON.stringify(json)).syrz !== '[]' ? JSON.parse(JSON.stringify(json)).syrz.split(',') : []
- this.form.sycpx = JSON.parse(JSON.stringify(json)).sycpx && JSON.parse(JSON.stringify(json)).sycpx !== '[]' ? JSON.parse(JSON.stringify(json)).sycpx.split(',') : []
- this.form.nylx = JSON.parse(JSON.stringify(json)).nylx && JSON.parse(JSON.stringify(json)).nylx !== '[]' ? JSON.parse(JSON.stringify(json)).nylx.split(',') : []
- this.form.cllx = JSON.parse(JSON.stringify(json)).cllx && JSON.parse(JSON.stringify(json)).cllx !== '[]' ? JSON.parse(JSON.stringify(json)).cllx.split(',') : []
- this.defaultCheckedKeys = [this.form.standSystem];
- this.defaultCheckedKeys1 = [this.form.cycvppsbm];
- this.defaultCheckedKeys2 = [this.form.kccvppsbm];
- this.defaultCheckedKeys3 = [this.form.dybxh];
- this.key++
- this.key1++
- this.key2++
- this.key3++
- this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
- this.form.standYear = bringData.standYear ? parseInt(bringData.standYear) : ''
- this.form.prcNum = this.prcNum
- this.form.prcName = this.prcName
- this.form['id'] = bringData.id
- this.standardDrawer = false
- this.verifySarStandard = true
- this.busVsFunc()
- this.modelFunc()
- this.$forceUpdate()
-
- console.log("this.form",this.form);
- // 遍历对象初始化文件信息
- for(const p in this.form) {
- if (typeof (this.form[p]) != "function") {
- this.initializeFileList(p,this.form[p]);
+ this.form.qcdw = JSON.parse(JSON.stringify(json)).qcdw && JSON.parse(JSON.stringify(json)).qcdw !== '[]' ? JSON.parse(JSON.stringify(json)).qcdw.split(',') : []
+ this.form.wssmr = JSON.parse(JSON.stringify(json)).wssmr && JSON.parse(JSON.stringify(json)).wssmr !== '[]' ? JSON.parse(JSON.stringify(json)).wssmr.split(',') : []
+ this.form.zrgcs = JSON.parse(JSON.stringify(json)).zrgcs && JSON.parse(JSON.stringify(json)).zrgcs !== '[]' ? JSON.parse(JSON.stringify(json)).zrgcs.split(',') : []
+ this.form.zrbm = JSON.parse(JSON.stringify(json)).zrbm && JSON.parse(JSON.stringify(json)).zrbm !== '[]' ? JSON.parse(JSON.stringify(json)).zrbm.split(',') : []
+ this.form.syrz = JSON.parse(JSON.stringify(json)).syrz && JSON.parse(JSON.stringify(json)).syrz !== '[]' ? JSON.parse(JSON.stringify(json)).syrz.split(',') : []
+ this.form.sycpx = JSON.parse(JSON.stringify(json)).sycpx && JSON.parse(JSON.stringify(json)).sycpx !== '[]' ? JSON.parse(JSON.stringify(json)).sycpx.split(',') : []
+ this.form.nylx = JSON.parse(JSON.stringify(json)).nylx && JSON.parse(JSON.stringify(json)).nylx !== '[]' ? JSON.parse(JSON.stringify(json)).nylx.split(',') : []
+ this.form.cllx = JSON.parse(JSON.stringify(json)).cllx && JSON.parse(JSON.stringify(json)).cllx !== '[]' ? JSON.parse(JSON.stringify(json)).cllx.split(',') : []
+ this.defaultCheckedKeys = [this.form.standSystem];
+ this.defaultCheckedKeys1 = [this.form.cycvppsbm];
+ this.defaultCheckedKeys2 = [this.form.kccvppsbm];
+ this.defaultCheckedKeys3 = [this.form.dybxh];
+ this.key++
+ this.key1++
+ this.key2++
+ this.key3++
+ this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
+ this.form.standYear = bringData.standYear ? parseInt(bringData.standYear) : ''
+ this.form.prcNum = this.prcNum
+ this.form.prcName = this.prcName
+ this.form['id'] = bringData.id
+ this.standardDrawer = false
+ this.verifySarStandard = true
+ this.busVsFunc()
+ this.modelFunc()
+ this.$forceUpdate()
}
- }
+ // 遍历对象初始化文件信息
+ for(const p in this.form) {
+ if (typeof (this.form[p ]) != "function") {
+ this.initializeFileList(p,this.form[p]);
+ }
+ }
+ console.log("res",res);
+ })
} else if (this.standardCheckedList.length > 1) {
this.$message.warning('最多可以带入一条标准信息')
@@ -1890,8 +1895,8 @@
this.getFileList(value,this.kwjFileList);
break;
case 'jdwj':
- debugger
this.getFileList(value,this.jdwjFileList);
+ console.log("初始",this.jdwjFileList)
break;
case 'bpg':
this.getFileList(value,this.bpgFileList);
@@ -1909,7 +1914,7 @@
}, {
_this: this
}, res => {
- debugger
+
let fileList = res.data
if (fileList != null && fileList.length > 0) {
for (let i = 0; i < fileList.length; i++) {
@@ -2454,6 +2459,7 @@
break;
case 'jdwj':
this.fileList=this.jdwjFileList
+ break;
case 'kwj':
this.fileList=this.kwjFileList
break;
From 3f7500be6e614b3f91bc3cd0eb1071d4464d6d22 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, 26 Oct 2021 17:23:36 +0800
Subject: [PATCH 06/41] commit
---
.../pages/creatProcess/cywbbzzxd/step1.vue | 343 ++++++++++-
.../pages/creatProcess/cywbbzzxd/step2.vue | 13 +
.../pages/creatProcess/jrbzhxh/step1.vue | 237 +++++++-
.../pages/creatProcess/jrbzhxh/step2.vue | 537 ++++++++++++++++++
4 files changed, 1119 insertions(+), 11 deletions(-)
create mode 100644 src/pages/processCenter/pages/creatProcess/cywbbzzxd/step2.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue
diff --git a/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step1.vue b/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step1.vue
index 8511d7862..80f0fab34 100644
--- a/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step1.vue
@@ -1,16 +1,349 @@
-
- 参与外部标准制修订流程
-
+
+
+ 参与外部标准制修订信息提报流程
+ 发起流程
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击上传
+
+
+
+
+
+
+
+ {{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
+
+
+ 参与人信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 协会信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2
+
+
+
+
-
diff --git a/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step2.vue b/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step2.vue
new file mode 100644
index 000000000..8448aa369
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step2.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step1.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step1.vue
index ab5e0161a..e666ae495 100644
--- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step1.vue
@@ -1,16 +1,241 @@
-
+
-
- 加入标准化协会信息备案流程
-
+
+
+ 加入标准化协会信息备案流程
+ 发起流程
+
+
+
+ 人员信息
+
+
+
+
+
+
+
+ 标准法规工程师
+
+
+
+
+
+
+
+
+
+
+ 标准化员
+
+
+
+
+
+
+
+
+
+
+
+ 标准法规部部长
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue
new file mode 100644
index 000000000..19f6d92d3
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue
@@ -0,0 +1,537 @@
+
+
+
+
+ 加入标准化协会信息备案流程
+ 入会信息填报
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击上传
+
+
+
+
+
+
+
+ {{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
+
+
+ 参与人信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 协会信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 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 ? "已完成" : "未完成" }}
+
+
+
+ 流程列表加载中
+
+
+
+
+
+
+
+
+
+
+
From 8a8832496a782b6bd1976cebfc742ad33650ac9e Mon Sep 17 00:00:00 2001
From: shenyanpei
Date: Tue, 26 Oct 2021 17:26:57 +0800
Subject: [PATCH 07/41] =?UTF-8?q?=E5=A4=96=E9=83=A8=E6=A0=87=E5=87=86?=
=?UTF-8?q?=E5=8C=96=E5=8D=8F=E4=BC=9A=E5=85=A5=E4=BC=9A=E6=B5=81=E7=A8=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/components/ProcessFooter.vue | 5 +-
.../pages/creatProcess/bzhHd-rh/step1.vue | 685 ++++++++++++++++++
.../pages/creatProcess/bzhHd-rh/step2.vue | 366 ++++++++++
.../pages/creatProcess/bzhHd-rh/step3.vue | 347 +++++++++
.../pages/creatProcess/bzhHd-rh/step4.vue | 13 +
.../pages/creatProcess/bzhHd-rh/step5.vue | 13 +
.../processCenter/pages/newProcess/index.vue | 78 ++
.../tabComponents/processCenter/index.vue | 48 ++
src/router/index.js | 48 +-
9 files changed, 1601 insertions(+), 2 deletions(-)
create mode 100644 src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue
diff --git a/src/pages/processCenter/pages/components/ProcessFooter.vue b/src/pages/processCenter/pages/components/ProcessFooter.vue
index c04920b05..c6537ed59 100644
--- a/src/pages/processCenter/pages/components/ProcessFooter.vue
+++ b/src/pages/processCenter/pages/components/ProcessFooter.vue
@@ -273,6 +273,9 @@ export default {
type: Boolean,
default: false
},
+ backBTNTexts: {
+ type: String
+ },
submitBTNText: {
type: String
}
@@ -405,7 +408,7 @@ export default {
},
// 退回按钮文字
backBTNText() {
- return this.approval ? '驳回' : '退回'
+ return this.backBTNTexts ? this.backBTNTexts : this.approval ? '驳回' : '退回'
},
userId() {
return this.userInfo.userId
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue
new file mode 100644
index 000000000..7f255940a
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue
@@ -0,0 +1,685 @@
+
+
+
+
+ 外部标准化协会入会流程
+ 发起流程
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击上传
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加
+
+
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 流程发起人
+
+
+
+
+
+
+
+
+
+
+ 技术委员会分委会主任/技术主管部门负责人
+
+
+
+
+
+
+
+
+
+
+
+ 责任工程师
+
+
+
+
+
+
+
+
+
+
+
+ 参会人员所在部门负责人
+
+
+
+
+
+
+
+
+
+
+
+ 标准法规部人员
+
+
+
+
+
+
+
+
+
+
+
+ 标准法规部主管领导
+
+
+
+
+
+
+
+
+
+
+
+ 费用管理部门
+
+
+
+
+
+
+
+
+
+
+
+ 技术委员会常务副主任/总院院长
+
+
+
+
+
+
+
+
+
+
+
+ 总院技术委员会主任
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue
new file mode 100644
index 000000000..ba97fe78e
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue
@@ -0,0 +1,366 @@
+
+
+
+ 外部标准化协会入会流程
+ 发起流程
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+ {{ rh_pageData.comityName || '-' }}
+
+
+
+
+ {{ rh_pageData.comityState || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityKind || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityMake.makeQualification || '-' }}
+
+
+
+
+ {{ rh_pageData.comityMake.makeRole || '' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityMake.makeCost || '-' }}
+
+
+
+
+ {{ rh_pageData.comityMake.makeDuties || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityMake.makeTime || '-' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 选择人员
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 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/bzhHd-rh/step3.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue
new file mode 100644
index 000000000..8857f2844
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue
@@ -0,0 +1,347 @@
+
+
+
+ 外部标准化协会入会流程
+ 发起流程
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+ {{ rh_pageData.comityName || '-' }}
+
+
+
+
+ {{ rh_pageData.comityState || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityKind || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityMake.makeQualification || '-' }}
+
+
+
+
+ {{ rh_pageData.comityMake.makeRole || '' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityMake.makeCost || '-' }}
+
+
+
+
+ {{ rh_pageData.comityMake.makeDuties || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityMake.makeTime || '-' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 填写信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 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/bzhHd-rh/step4.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue
new file mode 100644
index 000000000..c708e9536
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue
new file mode 100644
index 000000000..7f2ac2480
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/newProcess/index.vue b/src/pages/processCenter/pages/newProcess/index.vue
index 87f644d28..232cd4047 100644
--- a/src/pages/processCenter/pages/newProcess/index.vue
+++ b/src/pages/processCenter/pages/newProcess/index.vue
@@ -232,6 +232,77 @@
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -370,6 +441,13 @@ export default {
name: 'cywbbzzxdStep1'
})
break
+ // 外部标准化协会入会流程
+ case '20':
+ //政策课题会后流程
+ this.$router.push({
+ name: 'bzrhStep1'
+ })
+ break
}
},
checkPermission(permissionIdArray) {
diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
index 0c4a73e68..ae63f687a 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
@@ -895,6 +895,54 @@ export default {
// })
// }
break
+ // 外部标准化协会入会流程
+ case '20':
+ if (row.taskInfo === '技术委员会分委会主任/入会代表所在中心主任提名入会代表') {
+ this.$router.push({
+ name: 'bzrhStep2',
+ query:{
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ } else if (row.taskInfo === '') {
+ this.$router.push({
+ name: 'bzrhStep3',
+ query:{
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ } else if (row.taskInfo === '') {
+ this.$router.push({
+ name: 'bzrhStep4',
+ query:{
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ } else if (row.taskInfo === '') {
+ this.$router.push({
+ name: 'bzrhStep5',
+ query:{
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ }
+ break
}
},
...mapMutations(['setProcess', 'setHandleInfo']),
diff --git a/src/router/index.js b/src/router/index.js
index 1ad0b984b..afaafc9c0 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1242,7 +1242,53 @@ const routes = [
requireAuth: true,
title: '技术要求清单管理'
}
- }
+ },
+ // 外部标准化协会入会流程
+ {
+ path: '/bzrhStep1',
+ name: 'bzrhStep1',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会入会流程(流程发起)'
+ }
+ },
+ {
+ path: '/bzrhStep2',
+ name: 'bzrhStep2',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会入会流程(选择代表)'
+ }
+ },
+ {
+ path: '/bzrhStep3',
+ name: 'bzrhStep3',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会入会流程(入选代表填写信息)'
+ }
+ },
+ {
+ path: '/bzrhStep4',
+ name: 'bzrhStep4',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会入会流程(责任负责人审批)'
+ }
+ },
+ {
+ path: '/bzrhStep5',
+ name: 'bzrhStep5',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会入会流程(修订)'
+ }
+ },
]
},
// 标准法规库
From 53eeb5cc566b9aa017d40f8e06d125c9e6334a30 Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Tue, 26 Oct 2021 17:57:58 +0800
Subject: [PATCH 08/41] commit
---
.../pages/creatProcess/bzjd/step2.vue | 1 -
.../pages/creatProcess/zcrh/step2.vue | 356 ++++++++++++++++++
.../tabComponents/processCenter/index.vue | 14 +
src/router/index.js | 9 +
4 files changed, 379 insertions(+), 1 deletion(-)
create mode 100644 src/pages/processCenter/pages/creatProcess/zcrh/step2.vue
diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue
index 7264af330..84017256c 100644
--- a/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue
@@ -494,7 +494,6 @@
pId: this.pId
}).then(res => {
let data = JSON.parse(res.mesg)
- console.log(data);
this.form.itemsNum = data.itemsNum || data.form.itemsNum
this.form.itemsName = data.itemsName || data.form.itemsName
if (data.form) {
diff --git a/src/pages/processCenter/pages/creatProcess/zcrh/step2.vue b/src/pages/processCenter/pages/creatProcess/zcrh/step2.vue
new file mode 100644
index 000000000..3f40992c5
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/zcrh/step2.vue
@@ -0,0 +1,356 @@
+
+
+
+ 政策课题入会流程
+ 法规部部长审批
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
+
+
+ 课题组联系方式
+
+
+
+
+
+
+
+
+
+
+
+
+ 集团内部参与人员
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
index 6c76b6aad..15dafb8e0 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
@@ -869,6 +869,20 @@ export default {
})
}
break
+ case '17':
+ if (row.taskInfo === '法规认证部副部长审核') {
+ this.$router.push({
+ name: 'zcrhStep2',
+ query: {
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ }
+ break
}
},
...mapMutations(['setProcess', 'setHandleInfo']),
diff --git a/src/router/index.js b/src/router/index.js
index 6bdd35887..37ab82ac6 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -988,6 +988,15 @@ const routes = [
title: '政策课题入会流程'
}
},
+ {
+ path: '/zcrhStep2',
+ name: 'zcrhStep2',
+ component: () => import('@/pages/processCenter/pages/creatProcess/zcrh/step2.vue'),
+ meta: {
+ requireAuth: true,
+ title: '政策课题入会流程'
+ }
+ },
{
path: '/zcchStep1',
name: 'zcchStep1',
From f8349d8ce1225bfa11504534d32a80a58e02ab91 Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Wed, 27 Oct 2021 09:51:53 +0800
Subject: [PATCH 09/41] commit
---
.../pages/creatProcess/zcrh/step1-1.vue | 876 ++++++++++++++++++
.../pages/creatProcess/zcrh/step3.vue | 356 +++++++
.../pages/creatProcess/zcrh/step4.vue | 356 +++++++
.../tabComponents/processCenter/index.vue | 33 +
src/router/index.js | 27 +
5 files changed, 1648 insertions(+)
create mode 100644 src/pages/processCenter/pages/creatProcess/zcrh/step1-1.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/zcrh/step3.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/zcrh/step4.vue
diff --git a/src/pages/processCenter/pages/creatProcess/zcrh/step1-1.vue b/src/pages/processCenter/pages/creatProcess/zcrh/step1-1.vue
new file mode 100644
index 000000000..49d6f6d84
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/zcrh/step1-1.vue
@@ -0,0 +1,876 @@
+
+
+
+ 政策课题入会发起流程
+ 发起流程
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击上传
+
+
+
+
+
+
+
+
+
+
+ {{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
+
+
+ 课题组联系方式
+
+
+
+ 添加
+
+
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 集团内部参与人员
+
+
+
+ 添加
+
+
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击上传
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 流程发起人
+
+
+
+
+
+
+
+
+
+
+ 法规认证部部长
+
+
+
+
+
+
+
+
+
+
+ 法规认证部副总监
+
+
+
+
+
+
+
+
+
+
+ 公司副总
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/zcrh/step3.vue b/src/pages/processCenter/pages/creatProcess/zcrh/step3.vue
new file mode 100644
index 000000000..2d8846696
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/zcrh/step3.vue
@@ -0,0 +1,356 @@
+
+
+
+ 政策课题入会流程
+ 法规认证部副总监审批
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
+
+
+ 课题组联系方式
+
+
+
+
+
+
+
+
+
+
+
+
+ 集团内部参与人员
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/zcrh/step4.vue b/src/pages/processCenter/pages/creatProcess/zcrh/step4.vue
new file mode 100644
index 000000000..d690a7450
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/zcrh/step4.vue
@@ -0,0 +1,356 @@
+
+
+
+ 政策课题入会流程
+ 公司副总审批
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
+
+
+ 课题组联系方式
+
+
+
+
+
+
+
+
+
+
+
+
+ 集团内部参与人员
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
index 4d63bea69..5e91adf70 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
@@ -955,6 +955,39 @@ export default {
prcType: row.prcType
}
})
+ } else if (row.taskInfo === '法规认证部副总监批准') {
+ this.$router.push({
+ name: 'zcrhStep3',
+ query: {
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ } else if (row.taskInfo === '公司副总批准') {
+ this.$router.push({
+ name: 'zcrhStep4',
+ query: {
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ } else if (row.taskInfo === '修订入会信息') {
+ this.$router.push({
+ name: 'zcrhStep1-1',
+ query: {
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
}
break
}
diff --git a/src/router/index.js b/src/router/index.js
index 82c13a150..8d38cbcfa 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -997,6 +997,33 @@ const routes = [
title: '政策课题入会流程'
}
},
+ {
+ path: '/zcrhStep3',
+ name: 'zcrhStep3',
+ component: () => import('@/pages/processCenter/pages/creatProcess/zcrh/step3.vue'),
+ meta: {
+ requireAuth: true,
+ title: '政策课题入会流程'
+ }
+ },
+ {
+ path: '/zcrhStep4',
+ name: 'zcrhStep4',
+ component: () => import('@/pages/processCenter/pages/creatProcess/zcrh/step4.vue'),
+ meta: {
+ requireAuth: true,
+ title: '政策课题入会流程'
+ }
+ },
+ {
+ path: '/zcrhStep1-1',
+ name: 'zcrhStep1-1',
+ component: () => import('@/pages/processCenter/pages/creatProcess/zcrh/step1-1.vue'),
+ meta: {
+ requireAuth: true,
+ title: '政策课题入会流程'
+ }
+ },
{
path: '/zcchStep1',
name: 'zcchStep1',
From 2119620fd4df39250a2432b61e787b3de1fecd5a Mon Sep 17 00:00:00 2001
From: "zhaokaiyao@91isoft.com" <6922339zky>
Date: Wed, 27 Oct 2021 09:53:19 +0800
Subject: [PATCH 10/41] =?UTF-8?q?=E6=A0=87=E5=87=86=E5=85=A5=E5=BA=93?=
=?UTF-8?q?=E6=95=B4=E4=B8=AA=E6=B5=81=E7=A8=8B=E5=AE=9E=E7=8E=B0=E5=A4=9A?=
=?UTF-8?q?=E4=B8=AA=E6=96=87=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/bzrk/step1.vue | 22 +-
.../pages/creatProcess/bzrk/step2.vue | 291 +++++++++++++-----
.../pages/creatProcess/bzrk/step3.vue | 9 +-
3 files changed, 219 insertions(+), 103 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
index 90c8e7b01..c93f23518 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
@@ -1896,7 +1896,6 @@
break;
case 'jdwj':
this.getFileList(value,this.jdwjFileList);
- console.log("初始",this.jdwjFileList)
break;
case 'bpg':
this.getFileList(value,this.bpgFileList);
@@ -2370,7 +2369,6 @@
// this.form.zbjbdName += response.data.name+',';
// }
-
switch (this.fileType){
case 'fbgbjbd':
this.FBGBJBDFileList=fileList;
@@ -2629,34 +2627,34 @@
//拼接文件名和id 提交到流程Activity
this.form.fbgbjbd=this.FBGBJBDFileList.map(item => item.response.data.id).join(",")
- this.form.fbgbjbdName=this.FBGBJBDFileList.map(item => item.response.data.name).join(",")
+ this.form.fbgbjbdName=this.FBGBJBDFileList.map(item => item.name).join(",")
this.form.xgd=this.xgdFileList.map(item => item.response.data.id).join(",")
- this.form.xgdName=this.xgdFileList.map(item => item.response.data.name).join(",")
+ this.form.xgdName=this.xgdFileList.map(item => item.name).join(",")
this.form.bpg=this.bpgFileList.map(item => item.response.data.id).join(",")
- this.form.bpgName=this.bpgFileList.map(item => item.response.data.name).join(",")
+ this.form.bpgName=this.bpgFileList.map(item => item.name).join(",")
this.form.ssg=this.ssgFileList.map(item => item.response.data.id).join(",")
- this.form.ssgName=this.ssgFileList.map(item => item.response.data.name).join(",")
+ this.form.ssgName=this.ssgFileList.map(item => item.name).join(",")
this.form.zqyjg=this.zqyjgFileList.map(item => item.response.data.id).join(",")
- this.form.zqyjgName=this.zqyjgFileList.map(item => item.response.data.name).join(",")
+ this.form.zqyjgName=this.zqyjgFileList.map(item => item.name).join(",")
this.form.jdwj=this.jdwjFileList.map(item => item.response.data.id).join(",")
- this.form.jdwjName=this.jdwjFileList.map(item => item.response.data.name).join(",")
+ this.form.jdwjName=this.jdwjFileList.map(item => item.name).join(",")
this.form.kwj=this.kwjFileList.map(item => item.response.data.id).join(",")
- this.form.kwjName=this.kwjFileList.map(item => item.response.data.name).join(",")
+ this.form.kwjName=this.kwjFileList.map(item => item.name).join(",")
this.form.ca=this.caFileList.map(item => item.response.data.id).join(",")
- this.form.caName=this.caFileList.map(item => item.response.data.name).join(",")
+ this.form.caName=this.caFileList.map(item => item.name).join(",")
this.form.zbjbd=this.zbjbdFileList.map(item => item.response.data.id).join(",")
- this.form.zbjbdName=this.zbjbdFileList.map(item => item.response.data.name).join(",")
+ this.form.zbjbdName=this.zbjbdFileList.map(item => item.name).join(",")
this.form.glwj=this.glwjFileList.map(item => item.response.data.id).join(",")
- this.form.glwjName=this.glwjFileList.map(item => item.response.data.name).join(",")
+ this.form.glwjName=this.glwjFileList.map(item => item.name).join(",")
},
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue
index a2b44f516..34ecbacec 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue
@@ -215,84 +215,164 @@
文本信息
-
-
-
-
- {{ form.xgdName }}
-
-
- - -
-
-
-
-
- {{ form.fbgbjbdName }}
-
-
- - -
-
-
-
-
- {{ form.zbjbdName }}
-
-
- - -
-
-
-
-
- {{ form.ssgName }}
-
-
- - -
-
-
-
-
- {{ form.caName }}
-
-
- - -
-
-
-
-
-
-
- {{ form.kwjName }}
-
-
- - -
-
-
-
-
- {{ form.jdwjName }}
-
-
- - -
-
-
-
-
- {{ form.bpgName }}
-
-
- - -
-
-
-
-
- {{ form.zqyjgName }}
-
-
- - -
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{value.name}}
+
+
+ - -
+
+
+
+
+ {{value.name}}
+
+
+ - -
+
+
+
+
+ {{value.name}}
+
+
+ - -
+
+
+
+
+ {{value.name}}
+
+
+ - -
+
+
+
+
+ {{value.name}}
+
+
+ - -
+
+
+
+
+
+
+ {{value.name}}
+
+
+ - -
+
+
+
+
+ {{value.name}}
+
+
+ - -
+
+
+
+
+ {{value.name}}
+
+
+ - -
+
+
+
+
+ {{value.name}}
+
+
+ - -
+
+
+
+
适用范围
@@ -692,7 +772,22 @@
name: "bzrkStep2",
data () {
return {
- // 调整处理人抽屉状态
+ xgdFileMap: [],
+ fbgbjbdFileMap: [],
+ bpgFileMap: [],
+ ssgFileMap: [],
+ zqyjgFileMap: [],
+ jdwjFileMap: [],
+ kwjFileMap: [],
+ glwjFileMap: [],
+ caFileMap: [],
+ zbjbdFileMap: [],
+
+
+
+
+
+ // 调整处理人抽屉状态
drawerModal: false,
drawerTitle: '',
nodeList: [],
@@ -895,7 +990,6 @@
if(fileType === 'fbgbjbd'){
if(this.fbgbjbdFileId.search(',')){
this.fbgbjbdFileId=this.fbgbjbdFileId.replace(",","");
- console.log(this.fbgbjbdFileId);
}
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId
}else if(fileType === 'xgd'){
@@ -979,6 +1073,16 @@
this.detailData = res
}, e => {})
},
+ assemble(ids,names){
+ let list= new Array();
+ let idArray=ids.split(',');
+ let nameArray=names.split(',');
+ for(var i=0;i {
inboundLiaisonDetail({
@@ -987,6 +1091,8 @@
}).then(res => {
if (res) {
const processForm = JSON.parse(res.mesg)
+
+ console.log("processFrom",processForm)
this.xgdFileId = processForm.xgd
this.fbgbjbdFileId = processForm.fbgbjbd
this.bpgFileId = processForm.bpg
@@ -998,8 +1104,27 @@
this.caFileId = processForm.ca
this.zbjbdFileId = processForm.zbjbd
this.getFormFieldList(processForm)
- console.log(processForm);
- console.log("processForm");
+
+ this.xgdFileMap=this.assemble(processForm.xgd,processForm.xgdName);
+
+ this.fbgbjbdFileMap=this.assemble(processForm.fbgbjbd,processForm.fbgbjbdName);
+ // fbgbjbdFileMap: {},
+ this.bpgFileMap=this.assemble(processForm.bpg,processForm.bpgName);
+ // bpgFileMap: {},
+ this.ssgFileMap=this.assemble(processForm.ssg,processForm.ssgName);
+ // ssgFileMap: {},
+ this.zqyjgFileMap=this.assemble(processForm.zqyjg,processForm.zqyjgName);
+ // zqyjgFileMap: {},
+ this.jdwjFileMap=this.assemble(processForm.jdwj,processForm.jdwjName);
+ // jdwjFileMap: {},
+ this.kwjFileMap=this.assemble(processForm.kwj,processForm.kwjName);
+ // kwjFileMap: {},
+ this.glwjFileMap=this.assemble(processForm.glwj,processForm.glwjName);
+ // glwjFileMap: {},
+ this.caFileMap=this.assemble(processForm.ca,processForm.caName);
+ // caFileMap: {},
+ this.zbjbdFileMap=this.assemble(processForm.zbjbd,processForm.zbjbdName);
+ // zbjbdFileMap: {},
}
}).catch(e => {
@@ -1013,7 +1138,6 @@
this.$nextTick(() => {
this.form = JSON.parse(JSON.stringify(item))
this.defaultCheckedKeys = [this.form.standSystem]
- console.log(this.defaultCheckedKeys)
this.defaultCheckedKeys1 = [this.form.cycvppsbm]
this.defaultCheckedKeys2 = [this.form.kccvppsbm]
this.defaultCheckedKeys3 = [this.form.dybxh]
@@ -1082,7 +1206,6 @@
}, {
_this: this
}, res => {
- console.log(res);
if (res.success) {
if(this.formTongGuo.approvalOpinion === '1'){
this.$message.warning("驳回成功")
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue
index c30de6592..254cbc5cd 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue
@@ -973,12 +973,9 @@ export default {
}, e => {})
},
assemble(ids,names){
- console.log("name",names)
- console.log("id",ids)
let list= new Array();
let idArray=ids.split(',');
let nameArray=names.split(',');
- console.log("idarray",idArray);
for(var i=0;i {
this.form = JSON.parse(JSON.stringify(item))
- console.log("this.form");
- console.log(this.form);
+ console.log("this.form",this.form);
this.defaultCheckedKeys = [this.form.standSystem]
this.defaultCheckedKeys1 = [this.form.cycvppsbm]
this.defaultCheckedKeys2 = [this.form.kccvppsbm]
From cb0edb50741745cf4007ee73deda982b7029bf11 Mon Sep 17 00:00:00 2001
From: shenyanpei
Date: Wed, 27 Oct 2021 13:54:33 +0800
Subject: [PATCH 11/41] =?UTF-8?q?=E5=A4=96=E9=83=A8=E6=A0=87=E5=87=86?=
=?UTF-8?q?=E5=8C=96=E5=8D=8F=E4=BC=9A=E5=8F=82=E4=BC=9A=E6=B5=81=E7=A8=8B?=
=?UTF-8?q?,=E5=A4=96=E9=83=A8=E6=A0=87=E5=87=86=E5=8C=96=E5=8D=8F?=
=?UTF-8?q?=E4=BC=9A=E5=85=A5=E4=BC=9A=E6=B5=81=E7=A8=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/bzhHd-rh/step1.vue | 35 +-
.../pages/creatProcess/bzhHd-rh/step2.vue | 79 ++-
.../pages/creatProcess/bzhHd-rh/step3.vue | 157 +++++-
.../pages/creatProcess/bzhHd-rh/step4.vue | 421 +++++++++++++++-
.../pages/creatProcess/bzhHd-rh/step5.vue | 467 +++++++++++++++++-
.../pages/creatProcess/bzhHy-ch/step1.vue | 13 +
.../pages/creatProcess/bzhHy-ch/step2.vue | 13 +
.../pages/creatProcess/bzhHy-ch/step3.vue | 13 +
.../pages/creatProcess/bzhHy-ch/step4.vue | 13 +
.../pages/creatProcess/bzhHy-ch/step5.vue | 13 +
.../processCenter/pages/newProcess/index.vue | 22 +-
.../tabComponents/processCenter/index.vue | 48 ++
src/router/index.js | 139 ++++--
13 files changed, 1332 insertions(+), 101 deletions(-)
create mode 100644 src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue
index 7f255940a..78d9bd1d8 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue
@@ -100,7 +100,7 @@
-
+
{
let index;
index = this.rh_pageData.comityTel.findIndex(items => {
- return items.id === item;
+ return items === item;
});
if (index > -1) {
this.rh_pageData.comityTel.splice(index, 1);
@@ -537,7 +560,6 @@ export default {
// 协会外部联系方式批量选择
selectedDelete(val) {
this.deleteDataList = val
- console.log(val)
},
// 流程阶段负责人选择
@@ -660,6 +682,9 @@ export default {
/deep/.el-table__body-wrapper {
height: auto!important;
}
+ /deep/.el-textarea__inner {
+ font-family: inherit;
+ }
.make_form {
border: 1px solid #DCDFE6;
padding: 10px;
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue
index ba97fe78e..23a0d5765 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue
@@ -14,7 +14,19 @@
基础信息
-
+
+
+
+
+ {{ rh_pageData.comityFileNum || '-' }}
+
+
+
+
+ {{ rh_pageData.comityFileName || '-' }}
+
+
+
@@ -33,32 +45,30 @@
{{ rh_pageData.comityKind || '-' }}
-
-
{{ rh_pageData.comityMake.makeQualification || '-' }}
+
+
{{ rh_pageData.comityMake.makeRole || '' }}
-
-
{{ rh_pageData.comityMake.makeCost || '-' }}
+
+
{{ rh_pageData.comityMake.makeDuties || '-' }}
-
-
{{ rh_pageData.comityMake.makeTime || '-' }}
@@ -195,7 +205,6 @@
>
{
})
},
+
+ getData() {
+ const params = {
+ taskIds: this.taskIds,
+ pId: this.pId,
+ }
+ inboundLiaisonDetail(params).then(res => {
+ const processForm = JSON.parse(res.mesg)
+ this.getFormFieldList(processForm)
+ })
+ },
+ getFormFieldList (item) {
+ this.$nextTick(() => {
+ this.rh_pageData = JSON.parse(JSON.stringify(item)).rh_pageData
+ // this.rh_pageData.comityFileNum = this.fileTextList
+ })
+ },
// 右上标签页面切换
handleTabs(name) {
this.active = name
@@ -285,6 +320,18 @@ export default {
this.roleShowflag = true
},
drawerCheck (data) {
+ var idList = ''
+ var nameList = ''
+ data.forEach(item => {
+ if (nameList.length > 0) {
+ nameList += ','
+ idList += ','
+ }
+ idList += item.id;
+ nameList += item.name;
+ });
+ this.rh_pageData.comityInRole = nameList
+ this.rh_pageData.comityInRoleId = idList
this.roleShowflag = false
},
// 退回按钮
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue
index 8857f2844..17f33801b 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue
@@ -15,6 +15,18 @@
+
+
+
+ {{ rh_pageData.comityFileNum || '-' }}
+
+
+
+
+ {{ rh_pageData.comityFileName || '-' }}
+
+
+
@@ -33,23 +45,16 @@
{{ rh_pageData.comityKind || '-' }}
-
-
{{ rh_pageData.comityMake.makeQualification || '-' }}
-
-
- {{ rh_pageData.comityMake.makeRole || '' }}
-
-
-
- {{ rh_pageData.comityMake.makeCost || '-' }}
+
+ {{ rh_pageData.comityMake.makeRole || '' }}
@@ -59,15 +64,17 @@
+
+
+ {{ rh_pageData.comityMake.makeCost || '-' }}
+
+
{{ rh_pageData.comityMake.makeTime || '-' }}
-
-
-
填写信息
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -217,6 +294,8 @@ export default {
return {
active: '1', // 默认显示
rh_pageData: {
+ comityFileNum: '',
+ comityFileName: '',
comityName: '',
comityRole: '',
comityState: '',
@@ -231,13 +310,15 @@ export default {
},
workPath: '',
comityTel: [],
+ fillPeople: '',
+ fillUnit: '',
+ fillDept: '',
+ fillPost: '',
+ fillTel: '',
+ fillMail: '',
+ fillLeader: '',
+ fillFile: '',
},
- /** 上传相关 */
- acceptShow: false,
- // 上传所储存文件数组
- fileTextList: [],
-
-
roleShowflag: false,
nodeList: [],
detailData: [],
@@ -245,6 +326,9 @@ export default {
isSubmit: false,
saveLoading: false,
+
+ taskIds: this.$route.query.taskIds,
+ pId: this.$route.query.prcId,
}
},
computed: {
@@ -252,6 +336,10 @@ export default {
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
}
},
+ created() {
+ this.processTable()
+ this.getData()
+ },
methods: {
processTable() {
this.$http.get("lawss/activiti/get_list_by_instance", {
@@ -266,6 +354,23 @@ export default {
}, e => {
})
},
+
+ getData() {
+ const params = {
+ taskIds: this.taskIds,
+ pId: this.pId,
+ }
+ inboundLiaisonDetail(params).then(res => {
+ const processForm = JSON.parse(res.mesg)
+ this.getFormFieldList(processForm)
+ })
+ },
+ getFormFieldList (item) {
+ this.$nextTick(() => {
+ this.rh_pageData = JSON.parse(JSON.stringify(item)).rh_pageData
+ // this.rh_pageData.comityFileNum = this.fileTextList
+ })
+ },
// 右上标签页面切换
handleTabs(name) {
this.active = name
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue
index c708e9536..51b6c582c 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue
@@ -1,13 +1,426 @@
-
+
+
+ 外部标准化协会入会流程
+ 发起流程
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+ {{ rh_pageData.comityFileNum || '-' }}
+
+
+
+
+ {{ rh_pageData.comityFileName || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityName || '-' }}
+
+
+
+
+ {{ rh_pageData.comityState || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityKind || '-' }}
+
+
+
+
+ {{ rh_pageData.comityMake.makeQualification || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityMake.makeRole || '' }}
+
+
+
+
+ {{ rh_pageData.comityMake.makeCost || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityMake.makeDuties || '-' }}
+
+
+
+
+ {{ rh_pageData.comityMake.makeTime || '-' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 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/bzhHd-rh/step5.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue
index 7f2ac2480..46763a3d4 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue
@@ -1,13 +1,474 @@
-
+
+
+ 外部标准化协会入会流程
+ 发起流程
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+ {{ rh_pageData.comityFileNum || '-' }}
+
+
+
+
+ {{ rh_pageData.comityFileName || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityName || '-' }}
+
+
+
+
+ {{ rh_pageData.comityState || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityKind || '-' }}
+
+
+
+
+ {{ rh_pageData.comityMake.makeQualification || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityMake.makeRole || '' }}
+
+
+
+
+ {{ rh_pageData.comityMake.makeCost || '-' }}
+
+
+
+
+
+
+ {{ rh_pageData.comityMake.makeDuties || '-' }}
+
+
+
+
+ {{ rh_pageData.comityMake.makeTime || '-' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 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/bzhHy-ch/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue
new file mode 100644
index 000000000..62a87e0b5
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue
new file mode 100644
index 000000000..29fa1080d
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue
new file mode 100644
index 000000000..3c867fffa
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue
new file mode 100644
index 000000000..6103a6f03
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue
new file mode 100644
index 000000000..019dd51eb
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/newProcess/index.vue b/src/pages/processCenter/pages/newProcess/index.vue
index 232cd4047..40547ee4e 100644
--- a/src/pages/processCenter/pages/newProcess/index.vue
+++ b/src/pages/processCenter/pages/newProcess/index.vue
@@ -247,6 +247,21 @@
+
+
+
+
+
+
![]()
+
+
+
+
+
+
@@ -443,11 +458,16 @@ export default {
break
// 外部标准化协会入会流程
case '20':
- //政策课题会后流程
this.$router.push({
name: 'bzrhStep1'
})
break
+ // 外部标准化协会参会流程
+ case '21':
+ this.$router.push({
+ name: 'bzchStep1'
+ })
+ break
}
},
checkPermission(permissionIdArray) {
diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
index 5e91adf70..907ac844e 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
@@ -990,6 +990,54 @@ export default {
})
}
break
+ // 外部标准化协会参会流程
+ case '21':
+ if (row.taskInfo === '技术委员会分委会主任/入会代表所在中心主任提名入会代表') {
+ this.$router.push({
+ name: 'bzchStep2',
+ query:{
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ } else if (row.taskInfo === '') {
+ this.$router.push({
+ name: 'bzchStep3',
+ query:{
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ } else if (row.taskInfo === '') {
+ this.$router.push({
+ name: 'bzchStep4',
+ query:{
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ } else if (row.taskInfo === '') {
+ this.$router.push({
+ name: 'bzchStep5',
+ query:{
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ }
+ break
}
},
...mapMutations(['setProcess', 'setHandleInfo']),
diff --git a/src/router/index.js b/src/router/index.js
index 8d38cbcfa..92085f4b1 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1096,6 +1096,99 @@ const routes = [
title: '加入标准化协会信息提报流程'
}
},
+ // 外部标准化协会入会流程
+ {
+ path: '/bzrhStep1',
+ name: 'bzrhStep1',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会入会流程(流程发起)'
+ }
+ },
+ {
+ path: '/bzrhStep2',
+ name: 'bzrhStep2',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会入会流程(选择代表)'
+ }
+ },
+ {
+ path: '/bzrhStep3',
+ name: 'bzrhStep3',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会入会流程(入选代表填写信息)'
+ }
+ },
+ {
+ path: '/bzrhStep4',
+ name: 'bzrhStep4',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会入会流程(责任负责人审批)'
+ }
+ },
+ {
+ path: '/bzrhStep5',
+ name: 'bzrhStep5',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会入会流程(修订)'
+ }
+ },
+
+ // 外部标准化协会参会流程
+ {
+ path: '/bzchStep1',
+ name: 'bzchStep1',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会参会流程(流程发起)'
+ }
+ },
+ {
+ path: '/bzchStep2',
+ name: 'bzchStep2',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会参会流程(选择入会代表)'
+ }
+ },
+ {
+ path: '/bzchStep3',
+ name: 'bzchStep3',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会参会流程(入会人确认)'
+ }
+ },
+ {
+ path: '/bzchStep4',
+ name: 'bzchStep4',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会参会流程(审批)'
+ }
+ },
+ {
+ path: '/bzchStep5',
+ name: 'bzchStep5',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会参会流程(修订)'
+ }
+ },
]
},
// 本地工具
@@ -1279,52 +1372,6 @@ const routes = [
title: '技术要求清单管理'
}
},
- // 外部标准化协会入会流程
- {
- path: '/bzrhStep1',
- name: 'bzrhStep1',
- component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue'),
- meta: {
- requireAuth: true,
- title: '外部标准化协会入会流程(流程发起)'
- }
- },
- {
- path: '/bzrhStep2',
- name: 'bzrhStep2',
- component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue'),
- meta: {
- requireAuth: true,
- title: '外部标准化协会入会流程(选择代表)'
- }
- },
- {
- path: '/bzrhStep3',
- name: 'bzrhStep3',
- component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue'),
- meta: {
- requireAuth: true,
- title: '外部标准化协会入会流程(入选代表填写信息)'
- }
- },
- {
- path: '/bzrhStep4',
- name: 'bzrhStep4',
- component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue'),
- meta: {
- requireAuth: true,
- title: '外部标准化协会入会流程(责任负责人审批)'
- }
- },
- {
- path: '/bzrhStep5',
- name: 'bzrhStep5',
- component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue'),
- meta: {
- requireAuth: true,
- title: '外部标准化协会入会流程(修订)'
- }
- },
]
},
// 标准法规库
From 17919a03f78838a35016196b32519f1f1a1046b0 Mon Sep 17 00:00:00 2001
From: shenyanpei
Date: Wed, 27 Oct 2021 16:59:33 +0800
Subject: [PATCH 12/41] =?UTF-8?q?=E5=A4=96=E9=83=A8=E6=A0=87=E5=87=86?=
=?UTF-8?q?=E5=8C=96=E5=8D=8F=E4=BC=9A=E5=8F=82=E4=BC=9A=E6=B5=81=E7=A8=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/bzhHd-rh/step1.vue | 10 +-
.../pages/creatProcess/bzhHd-rh/step2.vue | 1 +
.../pages/creatProcess/bzhHy-ch/step1.vue | 450 +++++++++++++++++-
.../pages/creatProcess/bzhHy-ch/step2.vue | 367 +++++++++++++-
.../pages/creatProcess/bzhHy-ch/step3.vue | 394 ++++++++++++++-
.../pages/creatProcess/bzhHy-ch/step4.vue | 371 ++++++++++++++-
.../pages/creatProcess/bzhHy-ch/step5.vue | 365 +++++++++++++-
7 files changed, 1934 insertions(+), 24 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue
index 78d9bd1d8..dd60c72b3 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue
@@ -33,7 +33,7 @@
-
+
-
+
+
+ 外部标准化协会入会流程
+ 发起流程
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 计划内
+ 计划外
+
+
+
+
+
+ 添加
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 流程发起人
+
+
+
+
+
+
+
+
+
+
+ 分委会主任/部门中心主任
+
+
+
+
+
+
+
+
+
+
+
+ 责任工程师
+
+
+
+
+
+
+
+
+
+
+
+ 参会人员所在部门中心主任
+
+
+
+
+
+
+
+
+
+
+
+ 标准法规部人员
+
+
+
+
+
+
+
+
+
+
+
+ 标准法规部主管中心主任
+
+
+
+
+
+
+
+
+
+
+
+ 管理推荐部
+
+
+
+
+
+
+
+
+
+
+
+ 技术委员会常务副主任/总院院长
+
+
+
+
+
+
+
+
+
+
+
+ 技术委员会主任
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue
index 29fa1080d..0ae0c1ae0 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue
@@ -1,13 +1,372 @@
-
+
+
+ 外部标准化协会入会流程
+ 发起流程
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+ {{ ch_pageData.meetingName || '-' }}
+
+
+
+
+ {{ ch_pageData.primaryUnit || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.associaName || '-' }}
+
+
+
+
+ {{ ch_pageData.meetingTime || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.meetingPlace || '-' }}
+
+
+
+
+ {{ ch_pageData.feeStand || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.feeKind || '-' }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ ch_pageData.sort || '-'}}
+
+
+
+
+
+
+
+
+
+
+ 选择人员
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 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/bzhHy-ch/step3.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue
index 3c867fffa..949394dbc 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue
@@ -1,13 +1,401 @@
-
+
+
+ 外部标准化协会入会流程
+ 发起流程
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+ {{ ch_pageData.meetingName || '-' }}
+
+
+
+
+ {{ ch_pageData.primaryUnit || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.associaName || '-' }}
+
+
+
+
+ {{ ch_pageData.meetingTime || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.meetingPlace || '-' }}
+
+
+
+
+ {{ ch_pageData.feeStand || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.feeKind || '-' }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ ch_pageData.sort || '-' }}
+
+
+
+
+
+
+
+
+
+
+ 填写信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 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/bzhHy-ch/step4.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue
index 6103a6f03..074766923 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue
@@ -1,13 +1,376 @@
-
+
+
+ 外部标准化协会入会流程
+ 发起流程
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+ {{ ch_pageData.meetingName || '-' }}
+
+
+
+
+ {{ ch_pageData.primaryUnit || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.associaName || '-' }}
+
+
+
+
+ {{ ch_pageData.meetingTime || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.meetingPlace || '-' }}
+
+
+
+
+ {{ ch_pageData.feeStand || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.feeKind || '-' }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ ch_pageData.sort || '-' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 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/bzhHy-ch/step5.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue
index 019dd51eb..0ddce9d3b 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue
@@ -1,13 +1,370 @@
-
+
+
+ 外部标准化协会入会流程
+ 发起流程
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+ {{ ch_pageData.meetingName || '-' }}
+
+
+
+
+ {{ ch_pageData.primaryUnit || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.associaName || '-' }}
+
+
+
+
+ {{ ch_pageData.meetingTime || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.meetingPlace || '-' }}
+
+
+
+
+ {{ ch_pageData.feeStand || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.feeKind || '-' }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ ch_pageData.sort || '-' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 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 ? "已完成" : "未完成" }}
+
+
+
+ 流程列表加载中
+
+
+
+
+
-
+
From 8a0d7e5ebfe667aefc1e3746c5cd5b49302b2ffb Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Wed, 27 Oct 2021 17:58:00 +0800
Subject: [PATCH 13/41] commit
---
.../pages/creatProcess/zcch/step1-1.vue | 903 ++++++++++++++++++
.../pages/creatProcess/zcch/step1.vue | 582 ++++++++++-
.../pages/creatProcess/zcch/step2.vue | 433 +++++++++
.../pages/creatProcess/zcch/step3.vue | 408 ++++++++
.../pages/creatProcess/zchh/step1.vue | 2 +-
.../pages/creatProcess/zcrh/step1-1.vue | 9 +-
.../pages/creatProcess/zcrh/step1.vue | 4 +-
.../pages/creatProcess/zcrh/step2.vue | 12 +-
.../pages/creatProcess/zcrh/step3.vue | 12 +-
.../pages/creatProcess/zcrh/step4.vue | 12 +-
.../tabComponents/processCenter/index.vue | 36 +
src/router/index.js | 27 +
src/sysConfig/index.js | 8 +-
13 files changed, 2381 insertions(+), 67 deletions(-)
create mode 100644 src/pages/processCenter/pages/creatProcess/zcch/step1-1.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/zcch/step2.vue
create mode 100644 src/pages/processCenter/pages/creatProcess/zcch/step3.vue
diff --git a/src/pages/processCenter/pages/creatProcess/zcch/step1-1.vue b/src/pages/processCenter/pages/creatProcess/zcch/step1-1.vue
new file mode 100644
index 000000000..26ed1e131
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/zcch/step1-1.vue
@@ -0,0 +1,903 @@
+
+
+
+ 政策课题参会发起流程
+ 发起流程
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击上传
+
+
+
+
+
+
+
+
+
+
+ {{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
+
+
+ 课题组联系方式
+
+
+
+ 添加
+
+
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 集团内部参与人员
+
+
+
+ 添加
+
+
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击上传
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 流程发起人
+
+
+
+
+
+
+
+
+
+
+ 法规认证部部长
+
+
+
+
+
+
+
+
+
+
+ 公司副总
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/zcch/step1.vue b/src/pages/processCenter/pages/creatProcess/zcch/step1.vue
index d9b6940eb..ab63262d7 100644
--- a/src/pages/processCenter/pages/creatProcess/zcch/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/zcch/step1.vue
@@ -11,7 +11,7 @@
-
+
+ placeholder="请选择参会时间">
@@ -66,12 +66,26 @@
>
-
- 点击上传
-
+
+
+
+
+ 点击上传
+
+
-
{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
+
{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
- 外部信息
+ 课题组联系方式
-
+
添加
-
+
批量删除
@@ -109,36 +123,49 @@
row-key="id">
+
+
+
+
+
+
+
+
+
+
+
+
- 内部信息
+ 集团内部参与人员
-
+
添加
-
+
批量删除
@@ -153,48 +180,103 @@
row-key="id">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击上传
+
+
+
+
+
+
+
+
+
+
+
@@ -207,44 +289,33 @@
class="label-input-form">
-
+
流程发起人
-
-
+
+
-
+
-
+
法规认证部部长
-
-
-
-
-
-
-
-
-
- 法规认证部副总监
-
-
-
+
+
-
+
公司副总
-
-
+
+
@@ -262,6 +333,55 @@
@submit="handleSubmit"
>
+
+
+
+
+
+
+
+
+
+
+
@@ -280,6 +400,7 @@
},
data() {
return {
+ commentText: '',
isSubmit: false,
saveLoading: false,
active: "1", //默认显示
@@ -291,16 +412,250 @@
time2: '',
place: '',
Company: '',
+ modelNameList: '',
+ modelList: []
+ },
+ formRules: {
+ title: [
+ { required: true, message: '请输入课题名称', trigger: 'blur' },
+ ],
+ content: [
+ { required: true, message: '请输入主要议题', trigger: 'blur' },
+ ],
+ price: [
+ { required: true, message: '请输入费用', trigger: 'blur' },
+ ],
+ time: [
+ { required: true, message: '请选择课题研究周期', trigger: 'change' },
+ ],
+ time2: [
+ { required: true, message: '请选择参会时间', trigger: 'change' },
+ ],
+ place: [
+ { required: true, message: '请输入参会地点', trigger: 'blur' },
+ ],
+ Company: [
+ { required: true, message: '请输入承办单位', trigger: 'blur' },
+ ],
+ modelNameList: [
+ { required: true, message: '请上传课题组通知', trigger: 'blur' },
+ ]
},
- formRules: {},
foldFormFlag: true,
data1: [],
data2: [],
- roleForm: {},
- roleFormRules: {}
+ roleForm: {
+ revisionId: this.$store.getters.userInfo.userId,
+ revisionIdName: this.$store.getters.userInfo.userName,
+ ministerId: '',
+ ministerIdName: '',
+ presidentId: '',
+ presidentIdName: '',
+ },
+ roleFormRules: {
+ ministerIdName: [
+ {required: true, message: '请选择法规认证部部长', trigger: 'change'},
+ ],
+ inspectorIdName: [
+ {required: true, message: '请选择法规认证部总监', trigger: 'change'},
+ ],
+ presidentIdName: [
+ {required: true, message: '请选择公司副总', trigger: 'change'},
+ ]
+ },
+ fileMadel: false,
+ fileMadel2: false,
+ fileUrl: 'api/att/attFile/upload',
+ idList1: [],
+ idList2: [],
+ fileIndex: '',
+ fileList: [],
+ nodeList: [],
+ type: '',
+ drawerTitle: '',
+ modalshowflag: false,
}
},
methods: {
+ add1() {
+ var id = Number(Math.random().toString().substr(3, 3) + Date.now()).toString(36);
+ var json = {
+ ContactPerson: '',
+ Company: '',
+ Telephone: '',
+ Email: '',
+ id: id
+ }
+ this.data1.push(json)
+ },
+ add2() {
+ var id = Number(Math.random().toString().substr(3, 3) + Date.now()).toString(36);
+ var json = {
+ Sindex: '',
+ Member: '',
+ Company: '',
+ Email: '',
+ id: id,
+ Department: '',
+ Telephone: '',
+ Identity: '',
+ dataName: '',
+ data: [],
+ }
+ this.data2.push(json)
+ },
+ addDelete1() {
+ if (this.idList1.length > 0) {
+ this.$confirm('删除选中数据, 是否继续?', '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ for (let a = 0; a < this.data1.length; a++) {
+ this.idList1.forEach(item => {
+ if (this.data1[a].id === item) {
+ this.data1.splice(a, 1)
+ }
+ })
+ }
+ }).catch(() => {
+ this.$message({
+ type: 'info',
+ message: '已取消删除'
+ });
+ });
+ } else {
+ this.$message.warning('请选择要删除的数据')
+ }
+ },
+ addDelete2() {
+ if (this.idList2.length > 0) {
+ this.$confirm('删除选中数据, 是否继续?', '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ for (let a = 0; a < this.data2.length; a++) {
+ this.idList2.forEach(item => {
+ if (this.data2[a].id === item) {
+ this.data2.splice(a, 1)
+ }
+ })
+ }
+ }).catch(() => {
+ this.$message({
+ type: 'info',
+ message: '已取消删除'
+ });
+ });
+ } else {
+ this.$message.warning('请选择要删除的数据')
+ }
+ },
+ // 导入按钮 上传之前的钩子
+ beginImportFile(file) {
+ var filename = file.name
+ var index1 = filename.lastIndexOf('.')
+ var index2 = filename.length
+ 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') {
+ return true
+ } else {
+ this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
+ return false
+ }
+ // 判断文件上传大小
+ // eslint-disable-next-line no-unreachable
+ if (file.size / 1024 / 1024 <= 200) {
+ return true
+ } else {
+ this.$message.error('文件' + file.name + '大小不超过200M')
+ return false
+ }
+ return true
+ },
+ importFileSuccess(response, file) {
+ if (response.ok) {
+ this.rhform.modelList.push(response.data)
+ let list = ''
+ this.rhform.modelList.forEach(item => {
+ if (list.length > 0) {
+ list += ','
+ list += item.name
+ } else {
+ list+= item.name
+ }
+ })
+ this.rhform.modelNameList = list
+ this.$message({
+ showClose: true,
+ message: response.message,
+ type: 'success'
+ })
+ } else {
+ this.$message.error('程序异常,上传失败')
+ }
+ },
+ importFileRemove(file, fileList) {
+ let list = ''
+ this.rhform.modelList = []
+ fileList.forEach(item => {
+ this.rhform.modelList.push(item)
+ if (list.length > 0) {
+ list += ','
+ list += item.name
+ } else {
+ list+= item.name
+ }
+ })
+ this.rhform.modelNameList = list
+ },
+ importFileSuccess2(response, file) {
+ if (response.ok) {
+ this.data2[this.fileIndex].data.push(response.data)
+ let list = ''
+ this.data2[this.fileIndex].data.forEach(item => {
+ if (list.length > 0) {
+ list += ','
+ list += item.name
+ } else {
+ list+= item.name
+ }
+ })
+ this.data2[this.fileIndex].dataName = list
+ this.$message({
+ showClose: true,
+ message: response.message,
+ type: 'success'
+ })
+ } else {
+ this.$message.error('程序异常,上传失败')
+ }
+ },
+ importFileRemove2(file, fileList) {
+ let list = ''
+ this.data2[this.fileIndex].data = []
+ fileList.forEach(item => {
+ this.data2[this.fileIndex].data.push(item)
+ if (list.length > 0) {
+ list += ','
+ list += item.name
+ } else {
+ list+= item.name
+ }
+ })
+ this.data2[this.fileIndex].dataName = list
+ },
+ fileUpload() {
+ this.fileMadel = true
+ },
+ fileUpload2(index) {
+ this.fileIndex = index
+ this.fileList = this.data2[this.fileIndex].data
+ this.fileMadel2 = true
+ },
handleTabs(type) {
this.active = type;
}, // 切换tabs
@@ -310,14 +665,139 @@
handleSave() {
}, // 保存事件
handleSubmit() {
- console.log(this.rhform);
+ this.$refs['rhForm'].validate((valid) => {
+ if (valid) {
+ if (this.data1.length) {
+ if (this.data2.length) {
+ let ContactPerson = 0,Company = 0,Telephone = 0,Email = 0,Sindex = 0,Member = 0,Telephone2 = 0,Email2 = 0, Company2 = 0,Department = 0,Identity = 0
+ this.data1.forEach((item, index) =>{
+ if (!item.ContactPerson) {
+ ContactPerson++
+ } else if (!item.Company) {
+ Company++
+ } else if (!item.Telephone) {
+ Telephone++
+ } else if (!item.Email) {
+ Email++
+ }
+ })
+ this.data2.forEach((item, index) =>{
+ if (!item.Sindex) {
+ Sindex++
+ } else if (!item.Member) {
+ Member++
+ } else if (!item.Telephone) {
+ Telephone2++
+ } else if (!item.Email) {
+ Email2++
+ } else if (!item.Company) {
+ Company2++
+ } else if (!item.Department) {
+ Department++
+ } else if (!item.Identity) {
+ Identity++
+ }
+ })
+ if (ContactPerson > 0) {
+ return this.$message.warning('请输入联络人')
+ } else if (Company > 0) {
+ return this.$message.warning('请输入课题组联络人单位')
+ } else if (Telephone > 0) {
+ return this.$message.warning('请输入课题组联络人电话')
+ } else if (Email > 0) {
+ return this.$message.warning('请输入课题组联络人邮箱')
+ } else if (Sindex > 0) {
+ return this.$message.warning('请输入工作组排名顺序')
+ } else if (Member > 0) {
+ return this.$message.warning('请输入我司成员')
+ } else if (Telephone2 > 0) {
+ return this.$message.warning('请输入内部参与人员电话')
+ } else if (Email2 > 0) {
+ return this.$message.warning('请输入内部参与人员油邮箱')
+ } else if (Company2 > 0) {
+ return this.$message.warning('请输入内部参与人员单位')
+ } else if (Department > 0) {
+ return this.$message.warning('请输入内部参与人员部门')
+ } else if (Identity > 0) {
+ return this.$message.warning('请输入内部参与人员身份')
+ } else {
+ this.$refs['Form'].validate((valid) => {
+ if (valid) {
+ this.isSubmit = true
+ this.$http.get('lawss/activiti/startProcess', {
+ type: '18'
+ }, {}, res => {
+ if (res.ok) {
+ var json = Object.assign(this.rhform, this.roleForm)
+ json.commentText = this.commentText
+ json.data1 = this.data1
+ json.data2 = this.data2
+ this.$http.post('lawss/activiti/completeTask', {
+ json: JSON.stringify(json),
+ taskId: res.data,
+ userId: this.$store.getters.userInfo.userId
+ }, {}, res => {
+ if (res.success) {
+ this.$message.success('流程发起成功')
+ this.$router.push('/processCenter')
+ this.isSubmit = false
+ } else {
+ this.$message.warning('流程启动失败')
+ this.isSubmit = false
+ }
+ })
+ } else {
+ this.$message.warning('流程启动失败')
+ this.isSubmit = false
+ }
+ })
+ } else {
+ return this.$message.warning('请完善人员信息')
+ }
+ })
+ }
+ } else {
+ return this.$message.warning('请添加集团内部参与人员')
+ }
+ } else {
+ return this.$message.warning('请添加课题组人员')
+ }
+ } else {
+ return this.$message.warning('请完善基础信息')
+ }
+ })
}, // 提交事件
- handleSelectionChange1() {
+ handleSelectionChange1(val) {
+ this.idList1 = []
+ val.forEach(item => {
+ this.idList1.push(item.id)
+ })
}, // table1选中change事件
- handleSelectionChange2() {
+ handleSelectionChange2(val) {
+ this.idList2 = []
+ val.forEach(item => {
+ this.idList2.push(item.id)
+ })
}, // table2选中change事件
- choiceZRR() {
+ choiceZRR(type, title, id) {
+ this.nodeList = []
+ this.nodeList.push(id)
+ this.type = type
+ this.drawerTitle = title
+ this.modalshowflag = true
}, // 点击人员input事件
+ checkedRole(data) {
+ if (this.type === 'ministerId') {
+ this.roleForm.ministerId = data[0].id
+ this.roleForm.ministerIdName = data[0].name
+ } else if (this.type === 'inspectorId') {
+ this.roleForm.inspectorId = data[0].id
+ this.roleForm.inspectorIdName = data[0].name
+ } else if (this.type === 'presidentId') {
+ this.roleForm.presidentId = data[0].id
+ this.roleForm.presidentIdName = data[0].name
+ }
+ }, // 选择人员确认事件
},
mounted() {}
};
diff --git a/src/pages/processCenter/pages/creatProcess/zcch/step2.vue b/src/pages/processCenter/pages/creatProcess/zcch/step2.vue
new file mode 100644
index 000000000..0242c64f2
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/zcch/step2.vue
@@ -0,0 +1,433 @@
+
+
+
+ 政策课题参会发起流程
+ 法规部部长审批
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
+
+
+ 课题组联系方式
+
+
+
+
+
+
+
+
+
+
+
+
+ 集团内部参与人员
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/zcch/step3.vue b/src/pages/processCenter/pages/creatProcess/zcch/step3.vue
new file mode 100644
index 000000000..fdf0fe27f
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/zcch/step3.vue
@@ -0,0 +1,408 @@
+
+
+
+ 政策课题参会发起流程
+ 公司副总审批
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}
+
+
+ 课题组联系方式
+
+
+
+
+
+
+
+
+
+
+
+
+ 集团内部参与人员
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/zchh/step1.vue b/src/pages/processCenter/pages/creatProcess/zchh/step1.vue
index 930ba594e..1d7dd9a29 100644
--- a/src/pages/processCenter/pages/creatProcess/zchh/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/zchh/step1.vue
@@ -99,7 +99,7 @@