对接政策征求意见流程

This commit is contained in:
范强强
2023-10-18 15:52:03 +08:00
parent 7c3c229485
commit fb543ac0d3
2 changed files with 1064 additions and 1006 deletions
@@ -259,6 +259,7 @@
:accept="accept" :accept="accept"
:fileMax_M="fileMax_M" :fileMax_M="fileMax_M"
@uploadSuccess="uploadSuccess"/> @uploadSuccess="uploadSuccess"/>
<loading :loading="dataLoading">正在加载数据</loading>
</div> </div>
</template> </template>
@@ -291,6 +292,7 @@
active: '1', active: '1',
accept: '', accept: '',
fileMax_M: 0, fileMax_M: 0,
dataLoading: false,
drawerModal: false, drawerModal: false,
nodeList: [], nodeList: [],
formRules: { formRules: {
@@ -337,7 +339,7 @@
checkBox: false, checkBox: false,
selectType: '', selectType: '',
roleForm: {}, roleForm: {},
bpnId: '', bpnId: this.$route.query.bpnId,
} }
}, },
computed: { computed: {
@@ -439,7 +441,14 @@
}, },
}, },
mounted() { mounted() {
//获取草稿的数据进行展示
if (this.bpnId) {
this.getTaskDraftData()
}
//获取流程中数据进行展示
if (this.taskKey) {
this.getData() this.getData()
}
}, },
methods: { methods: {
handlePreview(file) { handlePreview(file) {
@@ -551,7 +560,7 @@
form: json, form: json,
commentText: this.commentText commentText: this.commentText
} }
this.completeTask(this.$route.query.taskIds,query) this.completeTask(this.$route.query.taskIds, query)
} }
}, },
//启动流程 //启动流程
@@ -586,12 +595,24 @@
}, {_this: this}, res => { }, {_this: this}, res => {
if (res.success) { if (res.success) {
this.$message.success(res.message); this.$message.success(res.message);
if (this.bpnId) {
this.taskDel()
}
this.$router.push("/processCenter"); this.$router.push("/processCenter");
} }
this.isSubmit = false; this.isSubmit = false;
this.saveLoading = false; this.saveLoading = false;
}) })
}, },
//删除草稿
taskDel() {
let taskId = {
id: this.bpnId
}
taskDel(taskId).then(res => {
return res
})
},
handleTransfer() { handleTransfer() {
this.title = '转办处理人' this.title = '转办处理人'
this.checkBox = true this.checkBox = true
@@ -670,6 +691,7 @@
this.dataForm = {...this.dataForm} this.dataForm = {...this.dataForm}
}, },
getData() { getData() {
this.dataLoading = true
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
inboundLiaisonDetail({ inboundLiaisonDetail({
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
@@ -679,7 +701,9 @@
const processForm = JSON.parse(res.mesg) const processForm = JSON.parse(res.mesg)
this.formProcessing(processForm) this.formProcessing(processForm)
} }
this.dataLoading = false
}).catch(e => { }).catch(e => {
this.dataLoading = false
}); });
}); });
}, },
@@ -690,6 +714,18 @@
this.$refs.personnelInformationRef.getData(row) this.$refs.personnelInformationRef.getData(row)
} }
}, },
getTaskDraftData() {
this.dataLoading = true
queryTaskFirst({
bpnId: this.bpnId
}).then(res => {
let mes = JSON.parse(res.mes);
this.dataForm = mes.form
this.roleForm = mes.roleForm
this.commentText = mes.commentText
this.dataLoading = false
});
},
} }
} }
</script> </script>
@@ -4,22 +4,22 @@
<div class="search-area"> <div class="search-area">
<el-form :inline="true" :model="searchForm" ref="processSearch" class="label-input-form"> <el-form :inline="true" :model="searchForm" ref="processSearch" class="label-input-form">
<div class="search-area-item"> <div class="search-area-item">
<!-- <el-form-item label="流程名称" class="search-item" @keyup.enter.native="selectProcessBtn">--> <!-- <el-form-item label="流程名称" class="search-item" @keyup.enter.native="selectProcessBtn">-->
<!-- <el-input--> <!-- <el-input-->
<!-- v-model.trim="searchForm.prcName"--> <!-- v-model.trim="searchForm.prcName"-->
<!-- placeholder="按流程名称查找"--> <!-- placeholder="按流程名称查找"-->
<!-- :maxlength="100"--> <!-- :maxlength="100"-->
<!-- clearable--> <!-- clearable-->
<!-- ></el-input>--> <!-- ></el-input>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<!-- <el-form-item label="流程编号" class="search-item" @keyup.enter.native="selectProcessBtn">--> <!-- <el-form-item label="流程编号" class="search-item" @keyup.enter.native="selectProcessBtn">-->
<!-- <el-input--> <!-- <el-input-->
<!-- v-model.trim="searchForm.prcNum"--> <!-- v-model.trim="searchForm.prcNum"-->
<!-- placeholder="按流程编号查找"--> <!-- placeholder="按流程编号查找"-->
<!-- :maxlength="100"--> <!-- :maxlength="100"-->
<!-- clearable--> <!-- clearable-->
<!-- ></el-input>--> <!-- ></el-input>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<el-form-item label="流程类型" class="search-item" @keyup.enter.native="selectProcessBtn"> <el-form-item label="流程类型" class="search-item" @keyup.enter.native="selectProcessBtn">
<el-select <el-select
v-model="searchForm.prcType" v-model="searchForm.prcType"
@@ -41,16 +41,19 @@
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
v-btn-permission="'255351d90836fad911d347da0e8c65b5'" v-btn-permission="'255351d90836fad911d347da0e8c65b5'"
@click="selectProcessBtn">查询</el-button> @click="selectProcessBtn">查询
</el-button>
<el-button <el-button
class="common-button-default" class="common-button-default"
size="mini" size="mini"
v-btn-permission="'568cc2a4431e8ea0d1f65bd0c0805907'" v-btn-permission="'568cc2a4431e8ea0d1f65bd0c0805907'"
@click="resetSelect">清空</el-button> @click="resetSelect">清空
</el-button>
<el-button size="mini" type="danger" <el-button size="mini" type="danger"
v-btn-permission="'de85dfbf1ca4fff1f47d4908af13c284'" v-btn-permission="'de85dfbf1ca4fff1f47d4908af13c284'"
@click="dataDel" @click="dataDel"
>删除</el-button> >删除
</el-button>
</el-form-item> </el-form-item>
</div> </div>
<div class="search-area-item"> <div class="search-area-item">
@@ -74,30 +77,31 @@
width="55" width="55"
align="center"> align="center">
</el-table-column> </el-table-column>
<!-- <el-table-column--> <!-- <el-table-column-->
<!-- prop="prcNum"--> <!-- prop="prcNum"-->
<!-- label="流程编号"--> <!-- label="流程编号"-->
<!-- align="center"--> <!-- align="center"-->
<!-- width="150"--> <!-- width="150"-->
<!-- >--> <!-- >-->
<!-- </el-table-column>--> <!-- </el-table-column>-->
<el-table-column <el-table-column
prop="prcType" prop="prcType"
label="流程类型" label="流程类型"
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<a @click="dealWith(scope.row)" class="table-jump">{{ scope.row.prcName|| getPrcName(scope.row.prcType) }}</a> <a @click="dealWith(scope.row)" class="table-jump">{{ scope.row.prcName||
getPrcName(scope.row.prcType) }}</a>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column--> <!-- <el-table-column-->
<!-- prop="prcName"--> <!-- prop="prcName"-->
<!-- label="流程名称"--> <!-- label="流程名称"-->
<!-- show-overflow-tooltip--> <!-- show-overflow-tooltip-->
<!-- align="center"--> <!-- align="center"-->
<!-- min-width="250"--> <!-- min-width="250"-->
<!-- >--> <!-- >-->
<!-- </el-table-column>--> <!-- </el-table-column>-->
<el-table-column <el-table-column
prop="creatUserName" prop="creatUserName"
label="发起人" label="发起人"
@@ -116,7 +120,7 @@
<el-table-column :label="$t('m.operation')" align="center" width="80"> <el-table-column :label="$t('m.operation')" align="center" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="primary" @click="dealWith(scope.row)">办理</el-button> <el-button size="mini" type="primary" @click="dealWith(scope.row)">办理</el-button>
<!-- <div @click.stop style="display: inline-block"> <!-- <div @click.stop style="display: inline-block">
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<i class="iconfont">&#xe61e;</i> <i class="iconfont">&#xe61e;</i>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
@@ -141,13 +145,14 @@
</template> </template>
<script> <script>
import {mapMutations, mapActions} from 'vuex' import {mapMutations, mapActions} from 'vuex'
import ProcessMixin from '../../../components/ProcessMixin' import ProcessMixin from '../../../components/ProcessMixin'
import { taskDel } from '@/api/process.js' import {taskDel} from '@/api/process.js'
export default {
export default {
name: 'ProcessCenter', name: 'ProcessCenter',
mixins: [ProcessMixin], mixins: [ProcessMixin],
data () { data() {
return { return {
searchForm: { searchForm: {
prcName: '', prcName: '',
@@ -162,20 +167,20 @@ export default {
} }
}, },
methods: { methods: {
handleCommand (command) { handleCommand(command) {
switch (command[1]) { switch (command[1]) {
case '办理': case '办理':
this.dealWith(command[0]) this.dealWith(command[0])
break break
} }
}, },
resetSelect () { //清空 resetSelect() { //清空
this.searchForm.prcName = '' this.searchForm.prcName = ''
this.searchForm.prcNum = '' this.searchForm.prcNum = ''
this.searchForm.prcType = '' this.searchForm.prcType = ''
this.queryProcess() this.queryProcess()
}, },
queryProcess () { // 查询待办流程 queryProcess() { // 查询待办流程
this.$http.postData('lawss/activiti/queryTaskDraft', { this.$http.postData('lawss/activiti/queryTaskDraft', {
current: this.pageNo, current: this.pageNo,
size: parseInt(this.$store.getters.userInfo.configContent), size: parseInt(this.$store.getters.userInfo.configContent),
@@ -191,11 +196,11 @@ export default {
this.total = res.count this.total = res.count
}) })
}, },
selectProcessBtn () { // 搜索按钮 selectProcessBtn() { // 搜索按钮
this.pageNo = 1 this.pageNo = 1
this.queryProcess() this.queryProcess()
}, },
handleSelectionChange (selected) { // 待办流程列表选中事件 handleSelectionChange(selected) { // 待办流程列表选中事件
this.processListSelect = selected this.processListSelect = selected
}, },
@@ -237,22 +242,22 @@ export default {
this.$message.warning('请选择一条数据进行删除') this.$message.warning('请选择一条数据进行删除')
} }
}, },
pageChange (pageNo) { // 页码改变 pageChange(pageNo) { // 页码改变
this.pageNo = pageNo this.pageNo = pageNo
this.queryProcess() this.queryProcess()
}, },
pageSizeChange (pageSize) { // 数量改变 pageSizeChange(pageSize) { // 数量改变
this.queryProcess() this.queryProcess()
}, },
dealWith (row) { // 办理 dealWith(row) { // 办理
//草稿办理待开发 //草稿办理待开发
const { prcType, id } = row const {prcType, id} = row
const mes = JSON.parse(row.mes) const mes = JSON.parse(row.mes)
this.$store.commit('setDetailMap', this.$route.path) this.$store.commit('setDetailMap', this.$route.path)
switch (prcType) { switch (prcType) {
// 标准入库、 // 标准入库、
case '1': case '1':
if(mes !== null && mes.taskInfo !== null){ if (mes !== null && mes.taskInfo !== null) {
if (mes.taskInfo === '申请人发起') { if (mes.taskInfo === '申请人发起') {
this.$router.push({ this.$router.push({
name: 'bzrkStep1', name: 'bzrkStep1',
@@ -273,7 +278,7 @@ export default {
} }
}) })
} }
}else { } else {
this.$router.push({ this.$router.push({
name: 'bzrkStep1', name: 'bzrkStep1',
query: { query: {
@@ -286,7 +291,7 @@ export default {
} }
break break
case 'buss1': case 'buss1':
if(mes !== null && mes.taskInfo !== null && mes.taskInfo !== undefined) { if (mes !== null && mes.taskInfo !== null && mes.taskInfo !== undefined) {
if (mes.taskInfo === '企标编写') { if (mes.taskInfo === '企标编写') {
this.$router.push({ this.$router.push({
name: 'bussLibrary2', name: 'bussLibrary2',
@@ -297,7 +302,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '起草'){ } else if (mes.taskInfo === '起草') {
this.$router.push({ this.$router.push({
name: 'bussLibrary1', name: 'bussLibrary1',
query: { query: {
@@ -307,7 +312,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '重新起草'){ } else if (mes.taskInfo === '重新起草') {
this.$router.push({ this.$router.push({
name: 'bussLibraryC1', name: 'bussLibraryC1',
query: { query: {
@@ -318,18 +323,18 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '企标编写汇总'){ } else if (mes.taskInfo === '企标编写汇总') {
this.$router.push({ this.$router.push({
name: 'bussLibrary3', name: 'bussLibrary3',
query: { query: {
type: 'buss1', type: 'buss1',
prcNum:mes.prcNum, prcNum: mes.prcNum,
processName: mes.taskInfo, processName: mes.taskInfo,
bpnId: id, bpnId: id,
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '标准化初审'){ } else if (mes.taskInfo === '标准化初审') {
this.$router.push({ this.$router.push({
name: 'bussLibrary4', name: 'bussLibrary4',
query: { query: {
@@ -339,84 +344,84 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '重新企标编写汇总'){ } else if (mes.taskInfo === '重新企标编写汇总') {
this.$router.push({ this.$router.push({
name: 'bussLibraryC3', name: 'bussLibraryC3',
query: { query: {
type: 'buss1', type: 'buss1',
prcNum:mes.prcNum, prcNum: mes.prcNum,
processName: mes.taskInfo, processName: mes.taskInfo,
bpnId: id, bpnId: id,
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '征求意见'){ } else if (mes.taskInfo === '征求意见') {
this.$router.push({ this.$router.push({
name: 'bussLibrary5', name: 'bussLibrary5',
query: { query: {
type: 'buss1', type: 'buss1',
prcNum:mes.prcNum, prcNum: mes.prcNum,
processName: mes.taskInfo, processName: mes.taskInfo,
bpnId: id, bpnId: id,
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '技术委员会评审、评审意见修改'){ } else if (mes.taskInfo === '技术委员会评审、评审意见修改') {
this.$router.push({ this.$router.push({
name: 'bussLibrary6', name: 'bussLibrary6',
query: { query: {
type: 'buss1', type: 'buss1',
prcNum:mes.prcNum, prcNum: mes.prcNum,
processName: mes.taskInfo, processName: mes.taskInfo,
bpnId: id, bpnId: id,
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '标准化复审'){ } else if (mes.taskInfo === '标准化复审') {
this.$router.push({ this.$router.push({
name: 'bussLibrary7', name: 'bussLibrary7',
query: { query: {
type: 'buss1', type: 'buss1',
prcNum:mes.prcNum, prcNum: mes.prcNum,
processName: mes.taskInfo, processName: mes.taskInfo,
bpnId: id, bpnId: id,
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '重新技术委员会评审、评审意见修改'){ } else if (mes.taskInfo === '重新技术委员会评审、评审意见修改') {
this.$router.push({ this.$router.push({
name: 'bussLibraryC6', name: 'bussLibraryC6',
query: { query: {
type: 'buss1', type: 'buss1',
prcNum:mes.prcNum, prcNum: mes.prcNum,
processName: mes.taskInfo, processName: mes.taskInfo,
bpnId: id, bpnId: id,
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '起草单位高级经理审核'){ } else if (mes.taskInfo === '起草单位高级经理审核') {
this.$router.push({ this.$router.push({
name: 'bussLibrary8', name: 'bussLibrary8',
query: { query: {
type: 'buss1', type: 'buss1',
prcNum:mes.prcNum, prcNum: mes.prcNum,
processName: mes.taskInfo, processName: mes.taskInfo,
bpnId: id, bpnId: id,
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '标准法规部高级经理审核'){ } else if (mes.taskInfo === '标准法规部高级经理审核') {
this.$router.push({ this.$router.push({
name: 'bussLibrary9', name: 'bussLibrary9',
query: { query: {
type: 'buss1', type: 'buss1',
prcNum:mes.prcNum, prcNum: mes.prcNum,
processName: mes.taskInfo, processName: mes.taskInfo,
bpnId: id, bpnId: id,
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '审定'){ } else if (mes.taskInfo === '审定') {
this.$router.push({ this.$router.push({
name: 'bussLibrary10', name: 'bussLibrary10',
query: { query: {
@@ -426,7 +431,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '批准'){ } else if (mes.taskInfo === '批准') {
this.$router.push({ this.$router.push({
name: 'bussLibrary11', name: 'bussLibrary11',
query: { query: {
@@ -436,7 +441,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '主起草人培训'){ } else if (mes.taskInfo === '主起草人培训') {
this.$router.push({ this.$router.push({
name: 'bussLibrary12', name: 'bussLibrary12',
query: { query: {
@@ -446,7 +451,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '发布'){ } else if (mes.taskInfo === '发布') {
this.$router.push({ this.$router.push({
name: 'bussLibrary13', name: 'bussLibrary13',
query: { query: {
@@ -457,7 +462,7 @@ export default {
} }
}) })
} }
}else { } else {
this.$router.push({ this.$router.push({
name: 'bussLibrary1', name: 'bussLibrary1',
query: { query: {
@@ -470,7 +475,7 @@ export default {
} }
break break
case 'buss2': case 'buss2':
if(mes !== null && mes.taskInfo !== null && mes.taskInfo !== undefined) { if (mes !== null && mes.taskInfo !== null && mes.taskInfo !== undefined) {
if (mes.taskInfo === '企标编写') { if (mes.taskInfo === '企标编写') {
this.$router.push({ this.$router.push({
name: 'bussLibraryProduct2', name: 'bussLibraryProduct2',
@@ -481,7 +486,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '起草'){ } else if (mes.taskInfo === '起草') {
this.$router.push({ this.$router.push({
name: 'bussLibraryProduct1', name: 'bussLibraryProduct1',
query: { query: {
@@ -491,7 +496,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '企标编写汇总'){ } else if (mes.taskInfo === '企标编写汇总') {
this.$router.push({ this.$router.push({
name: 'bussLibraryProduct3', name: 'bussLibraryProduct3',
query: { query: {
@@ -501,7 +506,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '重新企标编写汇总'){ } else if (mes.taskInfo === '重新企标编写汇总') {
this.$router.push({ this.$router.push({
name: 'bussLibraryProductC3', name: 'bussLibraryProductC3',
query: { query: {
@@ -511,7 +516,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '征求意见'){ } else if (mes.taskInfo === '征求意见') {
this.$router.push({ this.$router.push({
name: 'bussLibraryProduct5', name: 'bussLibraryProduct5',
query: { query: {
@@ -521,7 +526,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '意见汇总及标准修改'){ } else if (mes.taskInfo === '意见汇总及标准修改') {
this.$router.push({ this.$router.push({
name: 'bussLibraryProduct6', name: 'bussLibraryProduct6',
query: { query: {
@@ -531,7 +536,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '重新意见汇总及标准修改'){ } else if (mes.taskInfo === '重新意见汇总及标准修改') {
this.$router.push({ this.$router.push({
name: 'bussLibraryProductC6', name: 'bussLibraryProductC6',
query: { query: {
@@ -541,7 +546,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '发布'){ } else if (mes.taskInfo === '发布') {
this.$router.push({ this.$router.push({
name: 'bussLibraryProduct13', name: 'bussLibraryProduct13',
query: { query: {
@@ -552,7 +557,7 @@ export default {
} }
}) })
} }
}else { } else {
this.$router.push({ this.$router.push({
name: 'bussLibraryProduct1', name: 'bussLibraryProduct1',
query: { query: {
@@ -565,8 +570,8 @@ export default {
} }
break break
case 'buss3': case 'buss3':
if(mes !== null && mes.taskInfo !== null && mes.taskInfo !== undefined) { if (mes !== null && mes.taskInfo !== null && mes.taskInfo !== undefined) {
if (mes.taskInfo === '起草'){ if (mes.taskInfo === '起草') {
this.$router.push({ this.$router.push({
name: 'qbfsStep1', name: 'qbfsStep1',
query: { query: {
@@ -576,7 +581,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '汇总'){ } else if (mes.taskInfo === '汇总') {
this.$router.push({ this.$router.push({
name: 'bussFs2', name: 'bussFs2',
query: { query: {
@@ -586,7 +591,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '重新汇总'){ } else if (mes.taskInfo === '重新汇总') {
this.$router.push({ this.$router.push({
name: 'bussFsC2', name: 'bussFsC2',
query: { query: {
@@ -596,7 +601,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '复审'){ } else if (mes.taskInfo === '复审') {
this.$router.push({ this.$router.push({
name: 'qbfsStepSub2', name: 'qbfsStepSub2',
query: { query: {
@@ -607,7 +612,7 @@ export default {
} }
}) })
} }
}else { } else {
this.$router.push({ this.$router.push({
name: 'qbfsStep1', name: 'qbfsStep1',
query: { query: {
@@ -642,7 +647,7 @@ export default {
}) })
break break
case '4': case '4':
if(mes !== null && mes.taskInfo !== null){ if (mes !== null && mes.taskInfo !== null) {
if (mes.taskInfo === '引入法规标准清单') { if (mes.taskInfo === '引入法规标准清单') {
this.$router.push({ this.$router.push({
name: 'bzqdfbStep1-1', name: 'bzqdfbStep1-1',
@@ -663,7 +668,7 @@ export default {
} }
}) })
} }
}else { } else {
this.$router.push({ this.$router.push({
name: 'bzqdfbStep1-1', name: 'bzqdfbStep1-1',
query: { query: {
@@ -766,7 +771,7 @@ export default {
}) })
break break
case '15': case '15':
if(mes !== null && mes.taskInfo !== null){ if (mes !== null && mes.taskInfo !== null) {
if (mes.taskInfo === '备案任务下发') { if (mes.taskInfo === '备案任务下发') {
this.$router.push({ this.$router.push({
name: 'jrbzhxhStep1', name: 'jrbzhxhStep1',
@@ -777,7 +782,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if(mes.taskInfo === '入会信息填报'){ } else if (mes.taskInfo === '入会信息填报') {
this.$router.push({ this.$router.push({
name: 'jrbzhxhStep2', name: 'jrbzhxhStep2',
query: { query: {
@@ -787,7 +792,7 @@ export default {
} }
}) })
} }
}else{ } else {
this.$router.push({ this.$router.push({
name: 'jrbzhxhStep1', name: 'jrbzhxhStep1',
query: { query: {
@@ -821,7 +826,7 @@ export default {
// 政策入库、 // 政策入库、
case 'laws1': case 'laws1':
let routeName = '' let routeName = ''
let processName='' let processName = ''
if (mes && mes.taskInfo) { if (mes && mes.taskInfo) {
switch (mes.taskInfo) { switch (mes.taskInfo) {
case '起草': case '起草':
@@ -919,8 +924,8 @@ export default {
break break
//企标制修订计划管控 //企标制修订计划管控
case '25': case '25':
if(mes !== null && mes.taskInfo !== null && mes.taskInfo !== undefined) { if (mes !== null && mes.taskInfo !== null && mes.taskInfo !== undefined) {
if (mes.taskInfo === '技术标准起草'){ if (mes.taskInfo === '技术标准起草') {
this.$router.push({ this.$router.push({
name: 'qbzxdjhgkStep6', name: 'qbzxdjhgkStep6',
query: { query: {
@@ -930,7 +935,7 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else { } else {
this.$router.push({ this.$router.push({
name: 'qbzxdjhgkStep1', name: 'qbzxdjhgkStep1',
query: { query: {
@@ -940,7 +945,7 @@ export default {
} }
}) })
} }
}else{ } else {
this.$router.push({ this.$router.push({
name: 'qbzxdjhgkStep1', name: 'qbzxdjhgkStep1',
query: { query: {
@@ -963,15 +968,24 @@ export default {
} }
}) })
break break
case '29':
this.$router.push({
path: 'policyConsultation',
query: {
bpnId: id
}
})
break
} }
}, },
...mapMutations(['setProcess', 'setHandleInfo']), ...mapMutations(['setProcess', 'setHandleInfo']),
...mapActions(['setMenu']) ...mapActions(['setMenu'])
}, },
mounted () { mounted() {
this.queryProcess() this.queryProcess()
} }
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@@ -981,40 +995,48 @@ export default {
background: #fff; background: #fff;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.el-form-item { .el-form-item {
} }
.label-input-form { .label-input-form {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
.content { .content {
width: 100%; width: 100%;
flex: auto; flex: auto;
overflow: hidden; overflow: hidden;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.table-wrap { .table-wrap {
flex: auto; flex: auto;
overflow: hidden; overflow: hidden;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.pagination { .pagination {
position: static; position: static;
/deep/.pagination-slot {
/deep/ .pagination-slot {
padding: 0; padding: 0;
} }
} }
} }
} }
.clearfix:after{/*伪元素是行内元素 正常浏览器清除浮动方法*/
.clearfix:after { /*伪元素是行内元素 正常浏览器清除浮动方法*/
content: ""; content: "";
display: block; display: block;
height: 0; height: 0;
clear:both; clear: both;
visibility: hidden; visibility: hidden;
} }
.clearfix{
*zoom: 1;/*ie6清除浮动的方式 *号只有IE6-IE7执行,其他浏览器不执行*/ .clearfix {
*zoom: 1; /*ie6清除浮动的方式 *号只有IE6-IE7执行,其他浏览器不执行*/
} }
</style> </style>