feat: There is no way the, BUSS PROCESS

This commit is contained in:
Superman_Main
2021-12-06 16:57:33 +08:00
parent 72f178b571
commit 3a4b0954a5
18 changed files with 433 additions and 102 deletions
+14
View File
@@ -0,0 +1,14 @@
/**
* @description: 业务相关API接口
*/
import axios from '@/common/axiosV2'
// 企标评价-获取评价指标
export function getEvaluationIndex (data) {
return axios({
url: '/api/sarEnterpriseStandardEvaluation/evaluation-index/getEvaluationIndex',
method: 'get',
params: data
})
}
@@ -2622,7 +2622,7 @@
this.fileInfoHandle() this.fileInfoHandle()
this.isSubmit = true this.isSubmit = true
this.form.country=this.countryArr; this.form.country=this.countryArr;
this.form.standCode = this.form.standSort + ' ' + this.form.standNumber + ( this.form.standYear === '' ? '' : '-' + this.form.standYear) this.form.standCode = this.form.standSort + ' ' + this.form.standNumber + ( this.form.standYear === '' ? '' : '-' + this.form.standYear) +' X'
var json = Object.assign(this.form, this.roleForm) var json = Object.assign(this.form, this.roleForm)
json.zrUserId = this.form.zrUserId json.zrUserId = this.form.zrUserId
json.jlUserId = this.form.jlUserId json.jlUserId = this.form.jlUserId
@@ -2,7 +2,7 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">专委会副主任/起草单位中心主任审定</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -2516,17 +2516,15 @@
_this: this _this: this
}, res => { }, res => {
if (res.success) { if (res.success) {
this.$message.success(res.message) if(this.formTongGuo.approvalOpinion === '1'){
this.$message.warning("驳回成功")
}else{
this.$message.success(res.message)
// this.processCreateLaws(json)
}
this.isSubmit = false
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// if(this.formTongGuo.approvalOpinion === '1'){
// this.$message.warning("驳回成功")
// this.isSubmit = false
// // 流程提交之后,应该流转至待办任务页面
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// }else{
// this.processCreateLaws(json)
// }
}else { }else {
this.$message.success(res.message) this.$message.success(res.message)
} }
@@ -2,7 +2,7 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">专委会主任/总院院长或主管副院长批准</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -2516,17 +2516,15 @@
_this: this _this: this
}, res => { }, res => {
if (res.success) { if (res.success) {
this.$message.success(res.message) if(this.formTongGuo.approvalOpinion === '1'){
this.$message.warning("驳回成功")
}else{
this.$message.success(res.message)
// this.processCreateLaws(json)
}
this.isSubmit = false
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// if(this.formTongGuo.approvalOpinion === '1'){
// this.$message.warning("驳回成功")
// this.isSubmit = false
// // 流程提交之后,应该流转至待办任务页面
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// }else{
// this.processCreateLaws(json)
// }
}else { }else {
this.$message.success(res.message) this.$message.success(res.message)
} }
@@ -2,7 +2,7 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">主起草人培训</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -456,6 +456,7 @@
show-save show-save
show-submit show-submit
:saveLoading="saveLoading" :saveLoading="saveLoading"
:submitLoading="isSubmit"
@save="handleSave" @save="handleSave"
@submit="handleSubmit" @submit="handleSubmit"
> >
@@ -2473,6 +2474,7 @@
if (res.success) { if (res.success) {
this.$message.success(res.message) this.$message.success(res.message)
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.isSubmit = false
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// if(this.formTongGuo.approvalOpinion === '1'){ // if(this.formTongGuo.approvalOpinion === '1'){
// this.$message.warning("驳回成功") // this.$message.warning("驳回成功")
@@ -2,7 +2,7 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">企标编写流程</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -455,6 +455,7 @@
v-show="verifySarStandard" v-show="verifySarStandard"
show-save show-save
show-submit show-submit
:submitLoading="isSubmit"
:saveLoading="saveLoading" :saveLoading="saveLoading"
@save="handleSave" @save="handleSave"
@submit="handleSubmit" @submit="handleSubmit"
@@ -872,6 +873,7 @@
} }
}] }]
}, },
taskInfo:'',
loading: false, loading: false,
disabledState: true, disabledState: true,
userId:this.$store.getters.userInfo.userId, userId:this.$store.getters.userInfo.userId,
@@ -1526,6 +1528,11 @@
let mes = JSON.parse(res.mes) let mes = JSON.parse(res.mes)
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
this.form = mes.form this.form = mes.form
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
this.roleForm = mes.roleForm this.roleForm = mes.roleForm
this.commentText = mes.commentText this.commentText = mes.commentText
}) })
@@ -2331,16 +2338,10 @@
// _formData.append('id', this.bpnId) // _formData.append('id', this.bpnId)
_formData.append('createUser', this.$store.getters.userInfo.userId) _formData.append('createUser', this.$store.getters.userInfo.userId)
_formData.append('createUserName', this.$store.getters.userInfo.uName) _formData.append('createUserName', this.$store.getters.userInfo.uName)
_formData.append('prcType', 'laws1') _formData.append('prcType', 'buss1')
_formData.append('prcName', '政策入库流程') _formData.append('prcName', '企标制修订流程及企业标准库流程')
_formData.append('json', JSON.stringify({ _formData.append('json', JSON.stringify({
// prcForm: this.prcForm, taskInfo: this.taskInfo,
// sarAccessInfoList: this.sarAccessInfoList,
// sarAccessInfoListADMIN: this.sarAccessInfoListADMIN,
// bzqdForm: this.bzqdForm,
// listInfo: this.listInfo,
// id: this.id
taskInfo: '申请人发起',
form: this.form, form: this.form,
roleForm: this.roleForm, roleForm: this.roleForm,
commentText: this.commentText commentText: this.commentText
@@ -2460,6 +2461,7 @@
this.$refs['formTongGuo'].validate((valid) => { this.$refs['formTongGuo'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
this.saveLoading = true
this.form.commentText = this.formTongGuo.commentText this.form.commentText = this.formTongGuo.commentText
this.form.approvalOpinion = this.formTongGuo.approvalOpinion this.form.approvalOpinion = this.formTongGuo.approvalOpinion
const json = JSON.stringify(this.form); const json = JSON.stringify(this.form);
@@ -2473,6 +2475,7 @@
if (res.success) { if (res.success) {
this.$message.success(res.message) this.$message.success(res.message)
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.isSubmit = false
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// if(this.formTongGuo.approvalOpinion === '1'){ // if(this.formTongGuo.approvalOpinion === '1'){
// this.$message.warning("驳回成功") // this.$message.warning("驳回成功")
@@ -2541,6 +2544,7 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
if (res) { if (res) {
this.taskInfo = res.taskInfo
const processForm = JSON.parse(res.mesg) const processForm = JSON.parse(res.mesg)
const dateArr = [] const dateArr = []
if(processForm.commentCycleStart && processForm.commentCycleEnd){ if(processForm.commentCycleStart && processForm.commentCycleEnd){
@@ -2,7 +2,7 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">企标汇总修订</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -456,6 +456,7 @@
show-save show-save
show-submit show-submit
:saveLoading="saveLoading" :saveLoading="saveLoading"
:submitLoading="isSubmit"
@save="handleSave" @save="handleSave"
@submit="handleSubmit" @submit="handleSubmit"
> >
@@ -872,6 +873,7 @@
} }
}] }]
}, },
taskInfo:'',
loading: false, loading: false,
disabledState: true, disabledState: true,
userId:this.$store.getters.userInfo.userId, userId:this.$store.getters.userInfo.userId,
@@ -1526,6 +1528,11 @@
let mes = JSON.parse(res.mes) let mes = JSON.parse(res.mes)
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
this.form = mes.form this.form = mes.form
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
this.roleForm = mes.roleForm this.roleForm = mes.roleForm
this.commentText = mes.commentText this.commentText = mes.commentText
}) })
@@ -2331,16 +2338,10 @@
// _formData.append('id', this.bpnId) // _formData.append('id', this.bpnId)
_formData.append('createUser', this.$store.getters.userInfo.userId) _formData.append('createUser', this.$store.getters.userInfo.userId)
_formData.append('createUserName', this.$store.getters.userInfo.uName) _formData.append('createUserName', this.$store.getters.userInfo.uName)
_formData.append('prcType', 'laws1') _formData.append('prcType', 'buss1')
_formData.append('prcName', '政策入库流程') _formData.append('prcName', '企标制修订流程及企业标准库流程')
_formData.append('json', JSON.stringify({ _formData.append('json', JSON.stringify({
// prcForm: this.prcForm, taskInfo: this.taskInfo,
// sarAccessInfoList: this.sarAccessInfoList,
// sarAccessInfoListADMIN: this.sarAccessInfoListADMIN,
// bzqdForm: this.bzqdForm,
// listInfo: this.listInfo,
// id: this.id
taskInfo: '申请人发起',
form: this.form, form: this.form,
roleForm: this.roleForm, roleForm: this.roleForm,
commentText: this.commentText commentText: this.commentText
@@ -2472,8 +2473,10 @@
}, res => { }, res => {
if (res.success) { if (res.success) {
this.$message.success(res.message) this.$message.success(res.message)
this.isSubmit = false
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// if(this.formTongGuo.approvalOpinion === '1'){ // if(this.formTongGuo.approvalOpinion === '1'){
// this.$message.warning("驳回成功") // this.$message.warning("驳回成功")
// this.isSubmit = false // this.isSubmit = false
@@ -2541,6 +2544,7 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
if (res) { if (res) {
this.taskInfo = res.taskInfo
const processForm = JSON.parse(res.mesg) const processForm = JSON.parse(res.mesg)
const dateArr = [] const dateArr = []
if(processForm.commentCycleStart && processForm.commentCycleEnd){ if(processForm.commentCycleStart && processForm.commentCycleEnd){
@@ -2593,6 +2597,7 @@
}, },
}, },
mounted () { mounted () {
this.getTaskId()
this.getData() this.getData()
this.processTable() this.processTable()
this.$http.get('sys/dictype/getDicTypeListCode', '', { this.$http.get('sys/dictype/getDicTypeListCode', '', {
@@ -2,7 +2,7 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">标准化员审批</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -2531,17 +2531,16 @@
_this: this _this: this
}, res => { }, res => {
if (res.success) { if (res.success) {
this.$message.success(res.message) // 流程提交之后,应该流转至待办任务页面
if(this.formTongGuo.approvalOpinion === '1'){
this.$message.warning("驳回成功")
}else{
this.$message.success(res.message)
// this.processCreateLaws(json)
}
this.isSubmit = false
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// if(this.formTongGuo.approvalOpinion === '1'){
// this.$message.warning("驳回成功")
// this.isSubmit = false
// // 流程提交之后,应该流转至待办任务页面
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// }else{
// this.processCreateLaws(json)
// }
}else { }else {
this.$message.success(res.message) this.$message.success(res.message)
} }
@@ -2,10 +2,11 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">会签征求意见</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">会签点评</div>
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">基础信息</div>
<!-- <div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">模块信息</div>--> <!-- <div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">模块信息</div>-->
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div> <div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
</div> </div>
@@ -18,6 +19,86 @@
label-width="210px" label-width="210px"
> >
<div style="flex: auto;" v-show="active === '1'"> <div style="flex: auto;" v-show="active === '1'">
<template>
<el-table
:data="form.evaluationData"
:span-method="(({row, column, rowIndex, columnIndex})=>objectSpanMethod({row, column, rowIndex, columnIndex},form.evaluationData))"
style="width: 100%">
<el-table-column label="企业标准编写质量评价表" align="center" label-class-name="column1">
<el-table-column
label="标准代号"
>
<el-table-column
prop="oneIndexTitle"
align="center"
label="一级指标"
>
</el-table-column>
</el-table-column>
<el-table-column
:label="form.standCode"
>
<el-table-column
prop="twoIndexTitle"
align="center"
label="二级指标"
>
</el-table-column>
<el-table-column
prop="threeIndexTitle"
label="三级指标"
width="300"
>
</el-table-column>
</el-table-column>
<el-table-column
label="标准名称"
>
<el-table-column
prop="weight"
align="center"
label="指标权重 %"
>
<template slot-scope="scope">
{{scope.row.valueType === 'number' ? scope.row.weight * 100 : '加分项('+scope.row.weight+'分)'}}
</template>
</el-table-column>
</el-table-column>
<el-table-column
:label="form.standName"
>
<el-table-column
prop="standCode"
align="center"
label="指标分值(10分制)优≥8分;合格6~8分;不合格<6分"
>
<template slot-scope="scope">
<el-form-item
style="margin-left: 0;margin-bottom:0;"
>
<el-input v-model.number="scope.row.modelName" placeholder="请填写分值"/>
</el-form-item>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop="standCode"
align="center"
label="分值小计"
>
</el-table-column>
<el-table-column
prop="standCode"
align="center"
label="简述扣分理由(不合格<6分,必填)"
>
</el-table-column>
</el-table-column>
</el-table-column>
</el-table>
</template>
</div>
<div style="flex: auto;" v-show="active === '2'">
<ProcessTitle> <ProcessTitle>
<template slot="title">基础信息</template> <template slot="title">基础信息</template>
</ProcessTitle> </ProcessTitle>
@@ -269,7 +350,7 @@
</div> </div>
<div> <div>
<el-collapse accordion v-model="activeName"> <el-collapse accordion v-model="activeName">
<el-collapse-item title="审批意见" name = "1"> <el-collapse-item title="会签意见" name = "1">
<div style="margin: 10px 0;"> <div style="margin: 10px 0;">
<el-form <el-form
ref="formTongGuo" ref="formTongGuo"
@@ -455,6 +536,7 @@
v-show="verifySarStandard" v-show="verifySarStandard"
show-save show-save
show-submit show-submit
:submitLoading="isSubmit"
:saveLoading="saveLoading" :saveLoading="saveLoading"
@save="handleSave" @save="handleSave"
@submit="handleSubmit" @submit="handleSubmit"
@@ -805,6 +887,7 @@
import ProcessFooter from '../../components/ProcessFooter' import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle' import ProcessTitle from '../../components/ProcessTitle'
import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail} from "api/process"; import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail} from "api/process";
import {getEvaluationIndex} from "api/businessApi";
import TreeSelect from '@/components/treeSelect/treeSelect.vue'; import TreeSelect from '@/components/treeSelect/treeSelect.vue';
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue'; import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
let Base64 = require('js-base64').Base64; let Base64 = require('js-base64').Base64;
@@ -872,9 +955,11 @@
} }
}] }]
}, },
taskInfo: '',
loading: false, loading: false,
disabledState: true, disabledState: true,
userId:this.$store.getters.userInfo.userId, userId:this.$store.getters.userInfo.userId,
userName:this.$store.getters.userInfo.userName,
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId, pId: this.$route.query.prcId,
bpnId: this.$route.query.bpnId, bpnId: this.$route.query.bpnId,
@@ -1019,6 +1104,7 @@
countryArr:'', countryArr:'',
commentCycleDate:'', commentCycleDate:'',
form: { form: {
evaluationData:[],
modelData:[], modelData:[],
modelDataNameVerify:[], modelDataNameVerify:[],
modelDataZrUserVerify:[], modelDataZrUserVerify:[],
@@ -1324,6 +1410,49 @@
}, },
}, },
methods: { methods: {
filterData2(){
let spanOneArr = []
let concatOne = 0
this.form.evaluationData.forEach((item,index)=>{//循环后端查询出来的数据(orderdata)
if(index === 0){
spanOneArr.push(1)
}else{
//name 修改
if(item.twoIndexTitle === this.form.evaluationData[index - 1].twoIndexTitle){ //第一列需合并相同内容的字段
spanOneArr[concatOne] += 1
spanOneArr.push(0)
}else{
spanOneArr.push(1)
concatOne = index
}
}
})
return {
one: spanOneArr,
}
},
objectSpanMethod({ row, column, rowIndex, columnIndex },value) {
if (columnIndex === 0) {
if (rowIndex === 0) {
return {
rowspan: value.length,
colspan: 1
};
} else {
return {
rowspan: 0,
colspan: 0
};
}
}else if(columnIndex === 1 ) {
const _row = (this.filterData2(this.form.evaluationData).one)[rowIndex]
const _col = _row > 0 ? 1 : 0
return {
rowspan: _row,
colspan: _col
}
}
},
modelProp(row,index){ modelProp(row,index){
console.log(row) console.log(row)
console.log(index) console.log(index)
@@ -1526,6 +1655,11 @@
let mes = JSON.parse(res.mes) let mes = JSON.parse(res.mes)
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
this.form = mes.form this.form = mes.form
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
this.roleForm = mes.roleForm this.roleForm = mes.roleForm
this.commentText = mes.commentText this.commentText = mes.commentText
}) })
@@ -2331,16 +2465,10 @@
// _formData.append('id', this.bpnId) // _formData.append('id', this.bpnId)
_formData.append('createUser', this.$store.getters.userInfo.userId) _formData.append('createUser', this.$store.getters.userInfo.userId)
_formData.append('createUserName', this.$store.getters.userInfo.uName) _formData.append('createUserName', this.$store.getters.userInfo.uName)
_formData.append('prcType', 'laws1') _formData.append('prcType', 'buss1')
_formData.append('prcName', '政策入库流程') _formData.append('prcName', '企标制修订流程及企业标准库流程')
_formData.append('json', JSON.stringify({ _formData.append('json', JSON.stringify({
// prcForm: this.prcForm, taskInfo: this.taskInfo,
// sarAccessInfoList: this.sarAccessInfoList,
// sarAccessInfoListADMIN: this.sarAccessInfoListADMIN,
// bzqdForm: this.bzqdForm,
// listInfo: this.listInfo,
// id: this.id
taskInfo: '申请人发起',
form: this.form, form: this.form,
roleForm: this.roleForm, roleForm: this.roleForm,
commentText: this.commentText commentText: this.commentText
@@ -2462,7 +2590,14 @@
this.isSubmit = true this.isSubmit = true
this.form.commentText = this.formTongGuo.commentText this.form.commentText = this.formTongGuo.commentText
this.form.approvalOpinion = this.formTongGuo.approvalOpinion this.form.approvalOpinion = this.formTongGuo.approvalOpinion
const infoList = []
const info = {}
info.userId = this.userId
info.userName = this.userName
info.commentText = this.formTongGuo.commentText
infoList.push(info)
const json = JSON.stringify(this.form); const json = JSON.stringify(this.form);
json.infoList = infoList
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
taskIds: this.taskIds, taskIds: this.taskIds,
userId : this.userId, userId : this.userId,
@@ -2473,6 +2608,7 @@
if (res.success) { if (res.success) {
this.$message.success(res.message) this.$message.success(res.message)
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.isSubmit = false
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// if(this.formTongGuo.approvalOpinion === '1'){ // if(this.formTongGuo.approvalOpinion === '1'){
// this.$message.warning("驳回成功") // this.$message.warning("驳回成功")
@@ -2533,6 +2669,25 @@
return list; return list;
}, },
getEvaluation() {
return new Promise((resolve, reject) => {
getEvaluationIndex({
indexType: 'quality'
}).then(res => {
if (res) {
const evalList = []
res.data.forEach(item =>{
item.score = 0
item.reason = ''
item.userId = this.userId
item.processNode = ''
})
this.form.evaluationData = res.data
}
}).catch(e => {
})
})
},
getData() { getData() {
if(this.taskIds && this.pId){ if(this.taskIds && this.pId){
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
@@ -2541,6 +2696,7 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
if (res) { if (res) {
this.taskInfo = res.taskInfo
const processForm = JSON.parse(res.mesg) const processForm = JSON.parse(res.mesg)
const dateArr = [] const dateArr = []
if(processForm.commentCycleStart && processForm.commentCycleEnd){ if(processForm.commentCycleStart && processForm.commentCycleEnd){
@@ -2593,6 +2749,8 @@
}, },
}, },
mounted () { mounted () {
this.getTaskId()
this.getEvaluation()
this.getData() this.getData()
this.processTable() this.processTable()
this.$http.get('sys/dictype/getDicTypeListCode', '', { this.$http.get('sys/dictype/getDicTypeListCode', '', {
@@ -2634,6 +2792,9 @@
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
/deep/ .column1{
font-size: 18px !important;
}
/deep/ .el-input__suffix{ /deep/ .el-input__suffix{
display: none !important; display: none !important;
} }
@@ -2,7 +2,7 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">主起草人修订并组织评审</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -456,6 +456,7 @@
show-save show-save
show-submit show-submit
:saveLoading="saveLoading" :saveLoading="saveLoading"
:submitLoading="isSubmit"
@save="handleSave" @save="handleSave"
@submit="handleSubmit" @submit="handleSubmit"
> >
@@ -1526,6 +1527,11 @@
let mes = JSON.parse(res.mes) let mes = JSON.parse(res.mes)
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
this.form = mes.form this.form = mes.form
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
this.roleForm = mes.roleForm this.roleForm = mes.roleForm
this.commentText = mes.commentText this.commentText = mes.commentText
}) })
@@ -2473,6 +2479,7 @@
if (res.success) { if (res.success) {
this.$message.success(res.message) this.$message.success(res.message)
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.isSubmit = false
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// if(this.formTongGuo.approvalOpinion === '1'){ // if(this.formTongGuo.approvalOpinion === '1'){
// this.$message.warning("驳回成功") // this.$message.warning("驳回成功")
@@ -2593,6 +2600,7 @@
}, },
}, },
mounted () { mounted () {
this.getTaskId()
this.getData() this.getData()
this.processTable() this.processTable()
this.$http.get('sys/dictype/getDicTypeListCode', '', { this.$http.get('sys/dictype/getDicTypeListCode', '', {
@@ -2,7 +2,7 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">标准法规工程师复审</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -456,7 +456,7 @@
show-save show-save
show-submit show-submit
:saveLoading="saveLoading" :saveLoading="saveLoading"
@save="handleSave" :submitLoading="isSubmit"
@submit="handleSubmit" @submit="handleSubmit"
> >
</ProcessFooter> </ProcessFooter>
@@ -2473,6 +2473,7 @@
if (res.success) { if (res.success) {
this.$message.success(res.message) this.$message.success(res.message)
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.isSubmit = false
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// if(this.formTongGuo.approvalOpinion === '1'){ // if(this.formTongGuo.approvalOpinion === '1'){
// this.$message.warning("驳回成功") // this.$message.warning("驳回成功")
@@ -2,7 +2,7 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">技术委员会负责人/起草中心主任审核</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -2516,17 +2516,15 @@
_this: this _this: this
}, res => { }, res => {
if (res.success) { if (res.success) {
this.$message.success(res.message) if(this.formTongGuo.approvalOpinion === '1'){
this.$message.warning("驳回成功")
}else{
this.$message.success(res.message)
// this.processCreateLaws(json)
}
this.isSubmit = false
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// if(this.formTongGuo.approvalOpinion === '1'){
// this.$message.warning("驳回成功")
// this.isSubmit = false
// // 流程提交之后,应该流转至待办任务页面
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// }else{
// this.processCreateLaws(json)
// }
}else { }else {
this.$message.success(res.message) this.$message.success(res.message)
} }
@@ -2,7 +2,7 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">标准法规部部长审核</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -2516,17 +2516,15 @@
_this: this _this: this
}, res => { }, res => {
if (res.success) { if (res.success) {
this.$message.success(res.message) if(this.formTongGuo.approvalOpinion === '1'){
this.$message.warning("驳回成功")
}else{
this.$message.success(res.message)
// this.processCreateLaws(json)
}
this.isSubmit = false
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// if(this.formTongGuo.approvalOpinion === '1'){
// this.$message.warning("驳回成功")
// this.isSubmit = false
// // 流程提交之后,应该流转至待办任务页面
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// }else{
// this.processCreateLaws(json)
// }
}else { }else {
this.$message.success(res.message) this.$message.success(res.message)
} }
@@ -2,7 +2,7 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">重新企标汇总修订</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -2,7 +2,7 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">重新修订并组织评审</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -2,7 +2,7 @@
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订流程及企业标准库流程</template> <template slot="proName">企标制修订流程及企业标准库流程</template>
<template slot="proNode">发起企标制修订流程</template> <template slot="proNode">企标制修订流程详情</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -332,7 +332,7 @@ export default {
}) })
}else if (row.taskInfo === '企标汇总修订'){ }else if (row.taskInfo === '企标汇总修订'){
this.$router.push({ this.$router.push({
name: 'bzrkStep3', name: 'bussLibrary3',
query: { query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
@@ -343,7 +343,7 @@ export default {
}) })
}else if (row.taskInfo === '标准化员审批'){ }else if (row.taskInfo === '标准化员审批'){
this.$router.push({ this.$router.push({
name: 'bzrkStep4', name: 'bussLibrary4',
query: { query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
@@ -354,7 +354,7 @@ export default {
}) })
}else if (row.taskInfo === '重新企标汇总修订'){ }else if (row.taskInfo === '重新企标汇总修订'){
this.$router.push({ this.$router.push({
name: 'bzrkStepC3', name: 'bussLibraryC3',
query: { query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
@@ -365,7 +365,7 @@ export default {
}) })
}else if (row.taskInfo === '会签征求意见'){ }else if (row.taskInfo === '会签征求意见'){
this.$router.push({ this.$router.push({
name: 'bzrkStep5', name: 'bussLibrary5',
query: { query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
@@ -376,7 +376,7 @@ export default {
}) })
}else if (row.taskInfo === '主起草人修订并组织评审'){ }else if (row.taskInfo === '主起草人修订并组织评审'){
this.$router.push({ this.$router.push({
name: 'bzrkStep6', name: 'bussLibrary6',
query: { query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
@@ -387,7 +387,7 @@ export default {
}) })
}else if (row.taskInfo === '标准法规工程师复审'){ }else if (row.taskInfo === '标准法规工程师复审'){
this.$router.push({ this.$router.push({
name: 'bzrkStep7', name: 'bussLibrary7',
query: { query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
@@ -398,7 +398,7 @@ export default {
}) })
}else if (row.taskInfo === '重新修订并组织评审'){ }else if (row.taskInfo === '重新修订并组织评审'){
this.$router.push({ this.$router.push({
name: 'bzrkStepC6', name: 'bussLibraryC6',
query: { query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
@@ -409,7 +409,7 @@ export default {
}) })
}else if (row.taskInfo === '技术委员会负责人/起草中心主任审核'){ }else if (row.taskInfo === '技术委员会负责人/起草中心主任审核'){
this.$router.push({ this.$router.push({
name: 'bzrkStep8', name: 'bussLibrary8',
query: { query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
@@ -420,7 +420,7 @@ export default {
}) })
}else if (row.taskInfo === '标准法规部部长审核'){ }else if (row.taskInfo === '标准法规部部长审核'){
this.$router.push({ this.$router.push({
name: 'bzrkStep9', name: 'bussLibrary9',
query: { query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
@@ -431,7 +431,7 @@ export default {
}) })
}else if (row.taskInfo === '专委会副主任/起草单位中心主任审定'){ }else if (row.taskInfo === '专委会副主任/起草单位中心主任审定'){
this.$router.push({ this.$router.push({
name: 'bzrkStep10', name: 'bussLibrary10',
query: { query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
@@ -442,7 +442,7 @@ export default {
}) })
}else if (row.taskInfo === '专委会主任/总院院长或主管副院长批准'){ }else if (row.taskInfo === '专委会主任/总院院长或主管副院长批准'){
this.$router.push({ this.$router.push({
name: 'bzrkStep11', name: 'bussLibrary11',
query: { query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
@@ -453,7 +453,7 @@ export default {
}) })
}else if (row.taskInfo === '主起草人培训'){ }else if (row.taskInfo === '主起草人培训'){
this.$router.push({ this.$router.push({
name: 'bzrkStep12', name: 'bussLibrary12',
query: { query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
@@ -245,6 +245,151 @@ export default {
} }
}) })
} }
break
case 'buss1':
if(mes !== null && mes.taskInfo !== null) {
if (mes.taskInfo === '企标编写') {
this.$router.push({
name: 'bussLibrary2',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (row.taskInfo === '企标汇总修订'){
this.$router.push({
name: 'bussLibrary3',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (row.taskInfo === '标准化员审批'){
this.$router.push({
name: 'bussLibrary4',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (row.taskInfo === '重新企标汇总修订'){
this.$router.push({
name: 'bussLibraryC3',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '会签征求意见'){
this.$router.push({
name: 'bussLibrary5',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '主起草人修订并组织评审'){
this.$router.push({
name: 'bussLibrary6',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '标准法规工程师复审'){
this.$router.push({
name: 'bussLibrary7',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '重新修订并组织评审'){
this.$router.push({
name: 'bussLibraryC6',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '技术委员会负责人/起草中心主任审核'){
this.$router.push({
name: 'bussLibrary8',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '标准法规部部长审核'){
this.$router.push({
name: 'bussLibrary9',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '专委会副主任/起草单位中心主任审定'){
this.$router.push({
name: 'bussLibrary10',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '专委会主任/总院院长或主管副院长批准'){
this.$router.push({
name: 'bussLibrary11',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '主起草人培训'){
this.$router.push({
name: 'bussLibrary12',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}
}else {
this.$router.push({
name: 'bussLibrary1',
query: {
type: '1',
processName: '发起企标制修订流程',
bpnId: id,
verifySarStandard: true,
}
})
}
break break
// 法规入库及评估流程 // 法规入库及评估流程
case '2': case '2':