@@ -210,7 +223,7 @@
import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle";
-import { startProcess, saveTaskFirst,completeTask, inboundLiaisonDetail } from '@/api/process.js'
+import { startProcess, saveTaskForPub,completeTask, inboundLiaisonDetail } from '@/api/process.js'
export default {
components: {
ProcessHeader,
@@ -237,6 +250,9 @@ export default {
taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId,
+
+ uploadFileLength: '',
+ commentText: ''
}
},
computed: {
@@ -280,6 +296,7 @@ export default {
getFormFieldList (item) {
this.$nextTick(() => {
this.ch_pageData = JSON.parse(JSON.stringify(item)).ch_pageData
+ this.uploadFileLength = this.ch_pageData.fileTextList.length
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
// this.ch_pageData.comityFileNum = this.fileTextList
})
@@ -318,30 +335,51 @@ export default {
},
// 保存按钮
handleSave() {
+ this.saveLoading = true
+ let _formData = new FormData()
+ _formData.append('taskIds', this.taskIds)
+ _formData.append('json', JSON.stringify({
+ ch_pageData: this.ch_pageData,
+ roleList: this.roleForm,
+ commentText: this.commentText
+ }))
+ saveTaskForPub(_formData).then(res => {
+ this.saveLoading = false
+ this.$message.success('保存成功')
+ this.bpnId = res.result
+ }).catch(e => {
+ this.saveLoading = false
+ })
},
// 提交按钮
handleSubmit() {
- let json = {
- leader: this.roleForm.leaderUserId,
- ch_pageData: this.ch_pageData,
- roleList: this.roleForm,
- }
- this.$refs['ch_pageData'].validate((valid) => {
- if (valid) {
- this.isSubmit = true
- const params = new FormData();
- params.set('json', JSON.stringify(json))
- params.set('userId', this.$store.getters.userInfo.userId)
- params.set('taskId', this.taskIds)
- completeTask(params).then(res => {
- if (res.success === true) {
- this.$message.success('提交成功')
- this.$router.push("/processCenter");
- }
- this.isSubmit = false
- });
+ if (this.commentText === '') {
+ this.$message.warning('请输入审批意见')
+ } else {
+ let json = {
+ leader: this.roleForm.leaderUserId,
+ ch_pageData: this.ch_pageData,
+ commentText: this.commentText,
+ roleList: this.roleForm,
}
- })
+ this.$refs['ch_pageData'].validate((valid) => {
+ if (valid) {
+ this.isSubmit = true
+ const params = new FormData();
+ params.set('json', JSON.stringify(json))
+ params.set('userId', this.$store.getters.userInfo.userId)
+ params.set('taskId', this.taskIds)
+ completeTask(params).then(res => {
+ if (res.success === true) {
+ this.$message.success('提交成功')
+ this.$router.push("/processCenter");
+ }
+ this.isSubmit = false
+ });
+ }
+ })
+ }
+
}
}
}
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6-1.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6-1.vue
new file mode 100644
index 000000000..9104f1397
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6-1.vue
@@ -0,0 +1,377 @@
+
+
+
+ 外部标准化协会参会流程
+ 批准
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+ {{ ch_pageData.meetingName || '-' }}
+
+
+
+
+ {{ ch_pageData.primaryUnit || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.associaName || '-' }}
+
+
+
+
+ {{ ch_pageData.meetingStartTime || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.meetingPlace || '-' }}
+
+
+
+
+ {{ ch_pageData.feeStand || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.feeKind || '-' }}
+
+
+
+
+ {{ '-' }}
+
+ {{ item.name }} {{ ';'}}
+
+
+
+
+
+
+
+ 计划内
+ 计划外
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 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/step6.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue
index 105a1410d..eea516e65 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue
@@ -62,18 +62,18 @@
-
+ {{ '-' }}
+
+ {{ item.name }} {{ ';'}}
+
- {{ ch_pageData.sort || '-' }}
+ 计划内
+ 计划外
@@ -111,6 +111,19 @@
+
@@ -230,6 +243,10 @@ export default {
taskInfo: this.$route.query.taskInfo,
taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId,
+
+ uploadFileLength: '',
+ passTitle: '审批意见',
+ passHolder: '请输入审批意见'
}
},
computed: {
@@ -261,6 +278,10 @@ export default {
},
getData() {
+ if (this.taskInfo === '标准法规工程师修订完毕') {
+ this.passTitle = '回执说明',
+ this.passHolder = '请输入回执说明'
+ }
const params = {
taskIds: this.taskIds,
pId: this.pId,
@@ -273,6 +294,7 @@ export default {
getFormFieldList (item) {
this.$nextTick(() => {
this.ch_pageData = JSON.parse(JSON.stringify(item)).ch_pageData
+ this.uploadFileLength = this.ch_pageData.fileTextList.length
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
// this.ch_pageData.comityFileNum = this.fileTextList
})
@@ -293,7 +315,7 @@ export default {
this.deleteDataList.map(item => {
let index;
index = this.ch_pageData.myPartRole.findIndex(items => {
- return items.id === item;
+ return items === item;
});
if (index > -1) {
this.ch_pageData.myPartRole.splice(index, 1);
@@ -311,77 +333,90 @@ export default {
},
// 退回按钮
handleSubmitNo() {
- let json = {
- passFlag: '0',
- ch_pageData: this.ch_pageData,
- roleList: this.roleForm
- }
- if (this.taskInfo === '技术管理中心主任审批') {
- json.manageDepartmentList = this.roleForm.feeUserId
- } else if (this.taskInfo === '费用管理部门会签') {
- json.manageDepartment = this.$store.getters.userInfo.userId
- json.president = this.roleForm.engineerUserId
- } else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') {
- json.engineerSumDone = this.roleForm.startUser
+ if (this.textarea === '') {
+ this.$message.warning('请输入审批意见')
} else {
- json = {
+ let json = {
+ passFlag: '0',
ch_pageData: this.ch_pageData,
+ commentText: this.textarea,
roleList: this.roleForm
}
- }
- this.$refs['ch_pageData'].validate((valid) => {
- if (valid) {
- this.isBack = true
- const params = new FormData();
- params.set('json', JSON.stringify(json))
- params.set('userId', this.$store.getters.userInfo.userId)
- params.set('taskId', this.taskIds)
- completeTask(params).then(res => {
- if (res.success === true) {
- this.$message.success('提交成功')
- this.$router.push("/processCenter");
- }
- this.isBack = false
- });
+ if (this.taskInfo === '技术管理中心主任审批') {
+ json.manageDepartmentList = this.roleForm.feeUserId
+ } else if (this.taskInfo === '费用管理部门会签') {
+ json.manageDepartment = this.$store.getters.userInfo.userId
+ json.president = this.roleForm.engineerUserId
+ } else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') {
+ json.engineerSumDone = this.roleForm.startUser
+ } else {
+ json = {
+ ch_pageData: this.ch_pageData,
+ commentText: this.textarea,
+ roleList: this.roleForm
+ }
}
- })
+ this.$refs['ch_pageData'].validate((valid) => {
+ if (valid) {
+ this.isBack = true
+ const params = new FormData();
+ params.set('json', JSON.stringify(json))
+ params.set('userId', this.$store.getters.userInfo.userId)
+ params.set('taskId', this.taskIds)
+ completeTask(params).then(res => {
+ if (res.success === true) {
+ this.$message.success('提交成功')
+ this.$router.push("/processCenter");
+ }
+ this.isBack = false
+ });
+ }
+ })
+ }
},
// 提交按钮
handleSubmit() {
- let json = {
- passFlag: '1',
- ch_pageData: this.ch_pageData,
- roleList: this.roleForm
- }
- if (this.taskInfo === '技术管理中心主任审批') {
- json.manageDepartmentList = this.roleForm.feeUserId
- } else if (this.taskInfo === '费用管理部门会签') {
- json.manageDepartment = this.$store.getters.userInfo.userId
- json.president = this.roleForm.engineerUserId
- } else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') {
- json.engineerSumDone = this.roleForm.startUser
+ if (this.textarea === '') {
+ this.$message.warning('请输入审批意见')
} else {
- json = {
+ let json = {
+ passFlag: '1',
ch_pageData: this.ch_pageData,
+ commentText: this.textarea,
roleList: this.roleForm
}
- }
- this.$refs['ch_pageData'].validate((valid) => {
- if (valid) {
- this.isSubmit = true
- const params = new FormData();
- params.set('json', JSON.stringify(json))
- params.set('userId', this.$store.getters.userInfo.userId)
- params.set('taskId', this.taskIds)
- completeTask(params).then(res => {
- if (res.success === true) {
- this.$message.success('提交成功')
- this.$router.push("/processCenter");
- }
- this.isSubmit = false
- });
+ if (this.taskInfo === '技术管理中心主任审批') {
+ json.manageDepartmentList = this.roleForm.feeUserId
+ } else if (this.taskInfo === '费用管理部门会签') {
+ json.manageDepartment = this.$store.getters.userInfo.userId
+ json.president = this.roleForm.engineerUserId
+ } else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') {
+ json.engineerSumDone = this.roleForm.startUser
+ } else {
+ json = {
+ ch_pageData: this.ch_pageData,
+ commentText: this.textarea,
+ roleList: this.roleForm
+ }
}
- })
+ this.$refs['ch_pageData'].validate((valid) => {
+ if (valid) {
+ this.isSubmit = true
+ const params = new FormData();
+ params.set('json', JSON.stringify(json))
+ params.set('userId', this.$store.getters.userInfo.userId)
+ params.set('taskId', this.taskIds)
+ completeTask(params).then(res => {
+ if (res.success === true) {
+ this.$message.success('提交成功')
+ this.$router.push("/processCenter");
+ }
+ this.isSubmit = false
+ });
+ }
+ })
+ }
+
}
}
}
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue
index ef1f9f7ae..00a810200 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue
@@ -702,12 +702,12 @@ export default {
standNumber: '', //标准编号
standCode: '', //企标编号
dataSource: 'INLAND',
+ standType: 'INLAND',
lawNumber: '', // 标准编号/政策编号
lawName: '', // 标准名称/政策名称
page: 1,
pageSize: this.$store.getters.userInfo.configContent,
total: 0,
- standType: '',
quoteIdList: '',
validFlag: '0',
menuId: 'nomenu'
@@ -1094,6 +1094,7 @@ export default {
},
//添加标准的查询按钮
searchLawBtn(){
+ console.log(this.handleSelectForm);
this.lawInfoTableLoading = true
if (this.handleSelectForm.dataSource === 'INLAND'){
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage',this.handleSelectForm,{
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue
index 0072b8b4c..f886ef95e 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue
@@ -721,7 +721,7 @@ export default {
page: 1,
pageSize: this.$store.getters.userInfo.configContent,
total: 0,
- standType: '',
+ standType: 'INLAND',
quoteIdList: '',
validFlag: '0',
menuId: 'nomenu'
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue
index 376574cb6..611fd5c46 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue
@@ -705,7 +705,7 @@ export default {
page: 1,
pageSize: this.$store.getters.userInfo.configContent,
total: 0,
- standType: '',
+ standType: 'INLAND',
quoteIdList: '',
validFlag: '0',
menuId: 'nomenu'
diff --git a/src/pages/processCenter/pages/processDetail/index.vue b/src/pages/processCenter/pages/processDetail/index.vue
index 081dd1ae8..586eed8cc 100644
--- a/src/pages/processCenter/pages/processDetail/index.vue
+++ b/src/pages/processCenter/pages/processDetail/index.vue
@@ -258,6 +258,12 @@ export default {
}else if(prcType === '10'){
//项目清单确认
this.toProcessDetail('xmqdqrStep1-3',row)
+ } else if(prcType === '20') {
+ // 入会流程
+ this.toProcessDetail('bzrhStep6-1',row)
+ } else if(prcType === '21') {
+ // 参会流程
+ this.toProcessDetail('bzchStep6-1',row)
}
} else {
this.$message.warning('当前流程未全部办理完成,无法查看')
diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
index 64976940d..fe11fec51 100644
--- a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
+++ b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
@@ -1120,7 +1120,7 @@ export default {
this.roleShowflag = true
},
drawerCheck(data) {
- this.addForm.dutyEngineer = data[0].name.slice(0,data[0].name.indexOf('('))
+ this.addForm.dutyEngineer = data[0].name
this.roleShowflag = false
},
/** 选择认证工程师和质量工程师 */
@@ -1140,7 +1140,7 @@ export default {
idList += ','
}
idList += item.id
- nameList += item.name.slice(0,item.name.indexOf('('))
+ nameList += item.name
})
if (this.type === 'authEngineer') {
this.addForm.authEngineer = nameList
diff --git a/src/router/index.js b/src/router/index.js
index 430af915a..51d645e1c 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1631,6 +1631,15 @@ const routes = [
title: '外部标准化协会入会流程(审批)'
}
},
+ {
+ path: '/bzrhStep6-1',
+ name: 'bzrhStep6-1',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step6-1.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会入会流程'
+ }
+ },
// 外部标准化协会参会流程
{
@@ -1687,6 +1696,15 @@ const routes = [
title: '外部标准化协会参会流程(审定)'
}
},
+ {
+ path: '/bzchStep6-1',
+ name: 'bzchStep6-1',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHy-ch/step6-1.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会参会流程'
+ }
+ },
{
path: '/bzhhStep1',
name: 'bzhhStep1',