Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -23,9 +23,9 @@
|
||||
style="border-top:none;position: absolute;right: 36px;">
|
||||
<div class="modular-header" style="height: 50px;">
|
||||
<div class="modular-header-btn">
|
||||
<el-button type="warning" icon="el-icon-edit" @click="businessCommentDialog = true">企标评价</el-button>
|
||||
<el-button type="warning" icon="el-icon-edit" @click="qbBtn">企标评价</el-button>
|
||||
<el-dialog title="企业标准评价" :visible.sync="businessCommentDialog" :width="(commentAverageScoreTag === '1' && commentActiveName !== 'dynamicComment')?'90%':'65%'" :close-on-click-modal="false">
|
||||
<el-tabs v-model="commentActiveName" @tab-click="tabsClick">
|
||||
<el-tabs v-model="commentActiveName" @tab-click="tabsClickBtn">
|
||||
<el-tab-pane label="动态评价" name="dynamicComment">
|
||||
<el-table ref="businessCommentTable" :data="businessCommentTable.filter((v) => v.code !== '3U9lb')" border style="width: 100%; flex: auto;margin-bottom: 2%"
|
||||
class="comment-table"
|
||||
@@ -52,7 +52,7 @@
|
||||
allow-half>
|
||||
</el-rate>
|
||||
</el-col>
|
||||
<b style="margin-left: 5px;font-size: 12px;color: #ff9900">{{ scope.row.targetScore * 2 }}</b>
|
||||
<b style="margin-top: 5px;margin-left: -2%;color: #ff9900">{{ scope.row.targetScore * 2 }}</b>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column property="reason" label="简述理由">
|
||||
@@ -1585,11 +1585,98 @@ export default {
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
tabsClickBtn(tab, event){
|
||||
if (this.commentActiveName === 'dynamicComment'){
|
||||
this.indexType = 'dynamic'
|
||||
//查询评分表
|
||||
const allData = {
|
||||
lawId: this.$route.params.id,
|
||||
userId: this.qualityFirstHistoryPeopleId,
|
||||
evaluationType: this.indexType,
|
||||
}
|
||||
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getEvaluationForm', allData , {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.qualityHistoryCommentTable = res.data
|
||||
this.historyInfoLoading = false
|
||||
|
||||
}, e => {
|
||||
this.historyInfoLoading = false
|
||||
})
|
||||
}
|
||||
else if (this.commentActiveName === 'historyComment'){
|
||||
this.historyInfoLoading = true
|
||||
this.indexType = 'quality'
|
||||
//查询评分表
|
||||
const allData = {
|
||||
lawId: this.$route.params.id,
|
||||
userId: this.dynamicFirstHistoryPeopleId,
|
||||
evaluationType: this.indexType
|
||||
}
|
||||
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getEvaluationForm', allData , {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.dynamicHistoryCommentTable = res.data
|
||||
this.historyCommentForm.revise = res.data[0].targetScore
|
||||
this.historyCommentForm.reviseReason = res.data[0].commentReason
|
||||
|
||||
let averageScore = 0
|
||||
res.data.forEach(item => {
|
||||
if (item.valueType === 'number'){
|
||||
averageScore += parseInt(item.targetScore)
|
||||
}
|
||||
})
|
||||
averageScore = averageScore / 4
|
||||
this.historyCommentForm.averageScore = averageScore
|
||||
this.historyInfoLoading = false
|
||||
}, e => {
|
||||
this.historyInfoLoading = false
|
||||
})
|
||||
}
|
||||
|
||||
//查询动态评价总平均分和质量评价总平均分
|
||||
let standId = this.$route.params.id
|
||||
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.qualityCommentScore = res.data.quality.toFixed(3)/2
|
||||
this.dynamicCommentScore = res.data.dynamic.toFixed(3)/2
|
||||
|
||||
}, e => {
|
||||
})
|
||||
|
||||
// 刷新质量评价评分人表格和动态评价评分人表格
|
||||
const qualityRequest = {
|
||||
lawId: standId,
|
||||
evaluationType: 'quality'
|
||||
}
|
||||
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', qualityRequest, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.qualityHistoryPeopleTable = res.data.records
|
||||
this.qualityFirstHistoryPeopleId = res.data.records[0].userId
|
||||
|
||||
}, e => {
|
||||
})
|
||||
const dynamicRequest = {
|
||||
lawId: standId,
|
||||
evaluationType: 'dynamic'
|
||||
}
|
||||
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', dynamicRequest, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.dynamicHistoryPeopleTable = res.data.records
|
||||
this.dynamicFirstHistoryPeopleId = res.data.records[0].userId
|
||||
|
||||
}, e => {
|
||||
})
|
||||
|
||||
},
|
||||
tabsClick(tab, event){
|
||||
this.historyInfoLoading = true
|
||||
if (this.commentAverageScoreTag === '1'){
|
||||
this.indexType = 'quality'
|
||||
this.indexType = 'quality'
|
||||
//查询评分表
|
||||
const allData = {
|
||||
lawId: this.$route.params.id,
|
||||
@@ -2857,7 +2944,63 @@ export default {
|
||||
let value2 = b[property]
|
||||
return value1 - value2
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
qbBtn() {
|
||||
if (this.commentActiveName === 'dynamicComment'){
|
||||
this.indexType = 'dynamic'
|
||||
//查询评分表
|
||||
const allData = {
|
||||
lawId: this.$route.params.id,
|
||||
userId: this.qualityFirstHistoryPeopleId,
|
||||
evaluationType: this.indexType,
|
||||
}
|
||||
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getEvaluationForm', allData , {
|
||||
_this: this
|
||||
}, res => {
|
||||
let averageScore = 0
|
||||
res.data.forEach(item=>{
|
||||
item.targetScore = Number(item.targetScore)/2
|
||||
averageScore += item.targetScore
|
||||
})
|
||||
this.businessCommentForm.averageScore = averageScore/4
|
||||
this.businessCommentTable = res.data
|
||||
this.historyInfoLoading = false
|
||||
|
||||
}, e => {
|
||||
this.historyInfoLoading = false
|
||||
})
|
||||
}
|
||||
else if (this.commentActiveName === 'historyComment'){
|
||||
this.indexType = 'quality'
|
||||
//查询评分表
|
||||
const allData = {
|
||||
lawId: this.$route.params.id,
|
||||
userId: this.dynamicFirstHistoryPeopleId,
|
||||
evaluationType: this.indexType
|
||||
}
|
||||
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getEvaluationForm', allData , {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.dynamicHistoryCommentTable = res.data
|
||||
this.historyCommentForm.revise = res.data[0].targetScore
|
||||
this.historyCommentForm.reviseReason = res.data[0].commentReason
|
||||
|
||||
let averageScore = 0
|
||||
res.data.forEach(item => {
|
||||
if (item.valueType === 'number'){
|
||||
averageScore += parseInt(item.targetScore)
|
||||
}
|
||||
})
|
||||
averageScore = averageScore / 4
|
||||
this.historyCommentForm.averageScore = averageScore
|
||||
this.historyInfoLoading = false
|
||||
}, e => {
|
||||
this.historyInfoLoading = false
|
||||
})
|
||||
}
|
||||
this.businessCommentDialog = true
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
titleShow () {
|
||||
|
||||
@@ -1803,7 +1803,7 @@ export default {
|
||||
.to-do-list {
|
||||
margin-right: 10px;
|
||||
border-radius: 3px;
|
||||
height: calc(~'100% - 269px');
|
||||
height: calc(~'100% - 245px');
|
||||
overflow: hidden;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 1px 1px 10px rgba(0,0,0,0.1);
|
||||
|
||||
@@ -128,13 +128,13 @@
|
||||
:model="roleForm"
|
||||
:rules="roleFormRules"
|
||||
class="label-input-form myForm">
|
||||
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="startUserName" style="margin-bottom: 0">
|
||||
<h4>流程发起人</h4>
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.startUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.startUserName" placeholder="流程发起人" disabled></el-input>
|
||||
<el-input v-model="roleForm.startUserName" placeholder="标准法规工程师" disabled></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -145,7 +145,7 @@
|
||||
<h4>责任部门对接人</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.dockUserList" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="选择责任人" @click.native="choiceZRRS('1')">
|
||||
<el-input v-model="roleForm.dockUserName" :title="roleForm.dockUserName" placeholder="选择责任部门对接人" readonly="readonly" @click.native="choiceZRRS('1')">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -157,7 +157,7 @@
|
||||
<h4>标准法规部部长</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.ministerUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.ministerUserName" placeholder="选择标准法规部部长" @click.native="choiceZRR('ministerUser', '选择标准法规部部长', roleForm.ministerUser)"></el-input>
|
||||
<el-input v-model="roleForm.ministerUserName" placeholder="选择标准法规部部长" readonly="readonly" @click.native="choiceZRR('ministerUser', '选择标准法规部部长', roleForm.ministerUser)"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -165,21 +165,22 @@
|
||||
<el-timeline-item timestamp="审定" placement="top" :color="roleForm.directorUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="directorUserName" style="margin-bottom: 0">
|
||||
<h4>技术委员会相关专委会主任/研究总院职能部门领导,技术管理中心主任</h4>
|
||||
<h4>技术委员会相关专委会主任/ 工程研究总院责任部门中心主任、技术管理中心主任</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.directorUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.directorUserName" placeholder="选择技术委员会相关专委会主任/研究总院职能部门领导,技术管理中心主任 " @click.native="choiceZRRS('2')"></el-input>
|
||||
<!-- <el-input v-model="roleForm.directorUserName" placeholder="选择技术管理中心主任" readonly="readonly" @click.native="choiceZRR('directorUser', '选择技术管理中心主任', roleForm.directorUser)"></el-input>-->
|
||||
<el-input v-model="roleForm.directorUserName" placeholder="选择技术委员会相关专委会主任/ 工程研究总院责任部门中心主任、技术管理中心主任" readonly="readonly" @click.native="choiceZRRS('2')"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="批准人" placement="top" :color="roleForm.presidentUser ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="批准" placement="top" :color="roleForm.presidentUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="presidentUserName" style="margin-bottom: 0">
|
||||
<h4>工程研究总院院长或标准法规主管副院长</h4>
|
||||
<h4>工程研究总院院长/标准法规业务主管副院长</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.presidentUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.presidentUserName" placeholder="选择工程研究总院院长或标准法规主管副院长" @click.native="choiceZRR('presidentUser', '选择工程研究总院院长或标准法规主管副院长', roleForm.presidentUser)"></el-input>
|
||||
<el-input v-model="roleForm.presidentUserName" placeholder="选择工程研究总院院长/标准法规业务主管副院长" readonly="readonly" @click.native="choiceZRR('presidentUser', '选择工程研究总院院长/标准法规业务主管副院长', roleForm.presidentUser)"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -417,7 +418,7 @@
|
||||
this.nodeList2 = this.roleForm.dockUserList.split(',')
|
||||
}
|
||||
} else {
|
||||
this.drawerTitle2 = '选择技术管理中心主任'
|
||||
this.drawerTitle2 = '选择技术委员会相关专委会主任/ 工程研究总院责任部门中心主任、技术管理中心主任'
|
||||
if ( this.roleForm.directorUser.length > 0) {
|
||||
this.nodeList2 = this.roleForm.directorUser.split(',')
|
||||
}
|
||||
|
||||
@@ -128,13 +128,13 @@
|
||||
:model="roleForm"
|
||||
:rules="roleFormRules"
|
||||
class="label-input-form myForm">
|
||||
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="startUserName" style="margin-bottom: 0">
|
||||
<h4>流程发起人</h4>
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.startUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.startUserName" placeholder="流程发起人" disabled></el-input>
|
||||
<el-input v-model="roleForm.startUserName" placeholder="标准法规工程师" disabled></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -165,22 +165,22 @@
|
||||
<el-timeline-item timestamp="审定" placement="top" :color="roleForm.directorUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="directorUserName" style="margin-bottom: 0">
|
||||
<h4>技术委员会相关专委会主任/研究总院职能部门领导,技术管理中心主任 </h4>
|
||||
<h4>技术委员会相关专委会主任/ 工程研究总院责任部门中心主任、技术管理中心主任</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.directorUser" style="display: none;"></el-input>
|
||||
<!-- <el-input v-model="roleForm.directorUserName" placeholder="选择技术管理中心主任" readonly="readonly" @click.native="choiceZRR('directorUser', '选择技术管理中心主任', roleForm.directorUser)"></el-input>-->
|
||||
<el-input v-model="roleForm.directorUserName" placeholder="选择技术委员会相关专委会主任/研究总院职能部门领导,技术管理中心主任 " readonly="readonly" @click.native="choiceZRRS('2')"></el-input>
|
||||
<el-input v-model="roleForm.directorUserName" placeholder="选择技术委员会相关专委会主任/ 工程研究总院责任部门中心主任、技术管理中心主任" readonly="readonly" @click.native="choiceZRRS('2')"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="批准人" placement="top" :color="roleForm.presidentUser ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="批准" placement="top" :color="roleForm.presidentUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="presidentUserName" style="margin-bottom: 0">
|
||||
<h4>工程研究总院院长或标准法规主管副院长</h4>
|
||||
<h4>工程研究总院院长/标准法规业务主管副院长</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.presidentUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.presidentUserName" placeholder="选择工程研究总院院长或标准法规主管副院长" readonly="readonly" @click.native="choiceZRR('presidentUser', '选择工程研究总院院长或标准法规主管副院长', roleForm.presidentUser)"></el-input>
|
||||
<el-input v-model="roleForm.presidentUserName" placeholder="选择工程研究总院院长/标准法规业务主管副院长" readonly="readonly" @click.native="choiceZRR('presidentUser', '选择工程研究总院院长/标准法规业务主管副院长', roleForm.presidentUser)"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -408,7 +408,7 @@ export default {
|
||||
this.nodeList2 = this.roleForm.dockUserList.split(',')
|
||||
}
|
||||
} else {
|
||||
this.drawerTitle2 = '选择技术委员会相关专委会主任/研究总院职能部门领导,技术管理中心主任'
|
||||
this.drawerTitle2 = '选择技术委员会相关专委会主任/ 工程研究总院责任部门中心主任、技术管理中心主任'
|
||||
if ( this.roleForm.directorUser.length > 0) {
|
||||
this.nodeList2 = this.roleForm.directorUser.split(',')
|
||||
}
|
||||
|
||||
@@ -220,10 +220,10 @@
|
||||
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.applyUserId ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="applyUserId" style="margin-bottom: 0">
|
||||
<h4>流程发起人</h4>
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.applyUserId" style="display: none;"/>
|
||||
<el-input v-model="roleForm.applyUserIdName" placeholder="流程发起人" disabled/>
|
||||
<el-input v-model="roleForm.applyUserIdName" placeholder="标准法规工程师" disabled/>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</process-title>
|
||||
<el-collapse-transition>
|
||||
<el-form
|
||||
v-if="!foldFormFlag"
|
||||
v-show="!foldFormFlag"
|
||||
:model="listForm"
|
||||
:rules="formRules"
|
||||
ref="listForm"
|
||||
@@ -200,7 +200,7 @@
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.startUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.startUserName" placeholder="流程发起人" disabled></el-input>
|
||||
<el-input v-model="roleForm.startUserName" placeholder="标准法规工程师" disabled></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -208,11 +208,11 @@
|
||||
<el-timeline-item timestamp="审核" placement="top" :color="roleForm.dockUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
<h4>标准法法规业务经理</h4>
|
||||
<h4>标准法规部法规分析业务经理</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.dockUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="选择业务经理"
|
||||
@click.native="choiceZRR(null,'dockUser', '选择业务经理', roleForm.dockUser)">
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="选择标准法规部法规分析业务经理"
|
||||
@click.native="choiceZRR(null,'dockUser', '选择标准法规部法规分析业务经理', roleForm.dockUser)">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -221,11 +221,11 @@
|
||||
<el-timeline-item timestamp="批准" placement="top" :color="roleForm.directorUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="ministerUserName" style="margin-bottom: 0">
|
||||
<h4>标准法规部领导</h4>
|
||||
<h4>标准法规部高级经理</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.ministerUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.ministerUserName" placeholder="请选择标准法规部领导"
|
||||
@click.native="choiceZRR(null,'ministerUser', '选择标准法规部领导', roleForm.ministerUser)"></el-input>
|
||||
<el-input v-model="roleForm.ministerUserName" placeholder="选择标准法规部高级经理"
|
||||
@click.native="choiceZRR(null,'ministerUser', '选择标准法规部高级经理', roleForm.ministerUser)"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -604,6 +604,7 @@ export default {
|
||||
totalNo: 0,
|
||||
pageSizeNo: this.$store.getters.userInfo.configContent,
|
||||
product: new Map(),
|
||||
hisListForm:{},
|
||||
listForm: {
|
||||
standNumber: "", //标准编号
|
||||
standName: "",//标准名称
|
||||
@@ -663,6 +664,7 @@ export default {
|
||||
getFormFieldList (item) {
|
||||
console.log(item);
|
||||
this.$nextTick(() => {
|
||||
this.hisListForm = JSON.parse(JSON.stringify(item))
|
||||
this.listForm = JSON.parse(JSON.stringify(item))
|
||||
this.listForm.prcNum = this.prcNum
|
||||
this.listForm.prcName = this.prcName
|
||||
@@ -675,6 +677,11 @@ export default {
|
||||
this.roleForm.ministerUserName = item.ministerUserName
|
||||
this.submitFlag = '修改节点'
|
||||
this.dataList.distributePerson = item.dataList[0].distributePerson
|
||||
this.$http.get("SarStandItems/sar-stand-items/getFileType", {
|
||||
standId: item.standId
|
||||
}, {}, res => {
|
||||
this.decomposeOptions = res.data;
|
||||
});
|
||||
})
|
||||
},
|
||||
//折叠/展开基础信息方法
|
||||
@@ -918,22 +925,35 @@ export default {
|
||||
if (valid) {
|
||||
this.$refs["roleForm"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.$http.post("lawss/activiti/completeTask", {
|
||||
let specialJson = {
|
||||
createUser: this.$store.getters.userInfo.userId,
|
||||
createUserName: this.$store.getters.userInfo.userName,
|
||||
type: "5",
|
||||
json: {
|
||||
taskInfo: "选择已拆分标准",
|
||||
form: this.hisListForm,
|
||||
roleForm: this.roleForm,
|
||||
commentText: this.commentText
|
||||
}
|
||||
};
|
||||
let json = this.hisListForm
|
||||
this.$http.post("lawss/activiti/completeTaskNew", {
|
||||
taskIds: this.$route.query.taskIds,
|
||||
userId: this.$store.getters.userInfo.userId,
|
||||
json: JSON.stringify(json),
|
||||
specialJson: JSON.stringify(specialJson)
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message);
|
||||
if (this.bpnId !== '') {
|
||||
if (this.bpnId !== "") {
|
||||
let taskId = {
|
||||
id: this.bpnId
|
||||
}
|
||||
taskDel(taskId).then(res=>{
|
||||
return res
|
||||
})
|
||||
};
|
||||
taskDel(taskId).then(res => {
|
||||
return res;
|
||||
});
|
||||
}
|
||||
this.$router.push("/processCenter");
|
||||
}
|
||||
@@ -1113,10 +1133,27 @@ export default {
|
||||
bpnId: this.$route.query.bpnId
|
||||
}).then(res => {
|
||||
let mes = JSON.parse(res.mes);
|
||||
this.listForm = mes.listForm;
|
||||
this.dataList = mes.listForm.dataList
|
||||
this.roleForm = mes.roleForm;
|
||||
this.commentText = mes.commentText;
|
||||
if(!mes.json){
|
||||
this.listForm = mes.form
|
||||
this.dataList = mes.form.dataList;
|
||||
this.roleForm = mes.roleForm
|
||||
this.commentText = mes.commentText
|
||||
this.$http.get("SarStandItems/sar-stand-items/getFileType", {
|
||||
standId: mes.form.standId
|
||||
}, {}, res => {
|
||||
this.decomposeOptions = res.data;
|
||||
});
|
||||
}else{
|
||||
this.listForm = mes.json.form;
|
||||
this.dataList = mes.json.form.dataList
|
||||
this.roleForm = mes.json.roleForm;
|
||||
this.commentText = mes.json.commentText;
|
||||
this.$http.get("SarStandItems/sar-stand-items/getFileType", {
|
||||
standId: mes.json.form.standId
|
||||
}, {}, res => {
|
||||
this.decomposeOptions = res.data;
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
},
|
||||
@@ -1135,6 +1172,7 @@ export default {
|
||||
this.getData()
|
||||
}
|
||||
if(this.$route.query.taskIds){
|
||||
//被驳回时调用
|
||||
this.getHistoryData()
|
||||
}
|
||||
this.getStandData();
|
||||
|
||||
@@ -280,6 +280,7 @@ export default {
|
||||
* @description: 动态表单读取
|
||||
*/
|
||||
getFormFieldList (item) {
|
||||
console.log(item);
|
||||
this.$nextTick(() => {
|
||||
this.listForm = JSON.parse(JSON.stringify(item))
|
||||
this.listForm.prcNum = this.prcNum
|
||||
|
||||
@@ -439,24 +439,45 @@ export default {
|
||||
* @description: 动态表单读取
|
||||
*/
|
||||
getFormFieldList(item) {
|
||||
console.log(item);
|
||||
this.$nextTick(() => {
|
||||
this.listForm = JSON.parse(JSON.stringify(item));
|
||||
this.listForm.prcNum = this.prcNum;
|
||||
this.listForm.prcName = this.prcName;
|
||||
this.listForm["id"] = item.id;
|
||||
this.projectGroup = item.dataList[0].projectGroup;
|
||||
this.$http.get('SarStandItems/sar-stand-items/findAllItems', {
|
||||
ids: item.standId,
|
||||
type: item.fileType
|
||||
},{
|
||||
_this: this
|
||||
}, res => {
|
||||
this.breakdownList = res.data
|
||||
this.breakdownList.map(item => {
|
||||
delete item.termsConditions
|
||||
if(!item.form){
|
||||
this.listForm = JSON.parse(JSON.stringify(item));
|
||||
this.listForm.prcNum = this.prcNum;
|
||||
this.listForm.prcName = this.prcName;
|
||||
this.listForm["id"] = item.id;
|
||||
this.projectGroup = item.dataList[0].projectGroup;
|
||||
this.$http.get('SarStandItems/sar-stand-items/findAllItems', {
|
||||
ids: item.standId,
|
||||
type: item.fileType
|
||||
},{
|
||||
_this: this
|
||||
}, res => {
|
||||
this.breakdownList = res.data
|
||||
this.breakdownList.map(item => {
|
||||
delete item.termsConditions
|
||||
})
|
||||
})
|
||||
})
|
||||
this.getProductData();
|
||||
this.getProductData();
|
||||
}else{
|
||||
this.listForm = JSON.parse(JSON.stringify(item.form));
|
||||
this.commentText = item.commentText
|
||||
this.dataList = item.dataList
|
||||
this.projectGroup = item.dataList[0].projectGroup;
|
||||
this.$http.get('SarStandItems/sar-stand-items/findAllItems', {
|
||||
ids: item.form.standId,
|
||||
type: item.form.fileType
|
||||
},{
|
||||
_this: this
|
||||
}, res => {
|
||||
this.breakdownList = res.data
|
||||
this.breakdownList.map(item => {
|
||||
delete item.termsConditions
|
||||
})
|
||||
})
|
||||
this.getProductData();
|
||||
}
|
||||
|
||||
});
|
||||
},
|
||||
choiceZRRS(row, type, index) {
|
||||
@@ -641,13 +662,14 @@ export default {
|
||||
//保存
|
||||
handleSave() {
|
||||
this.saveLoading = true;
|
||||
this.listForm.dataList = this.dataList;
|
||||
// this.listForm.dataList = this.dataList;
|
||||
let _formData = new FormData();
|
||||
_formData.append("id", this.bpnId || "");
|
||||
_formData.append("prcType", "5");
|
||||
_formData.append("taskIds", this.taskIds);
|
||||
_formData.append("json", JSON.stringify({
|
||||
form: this.listForm,
|
||||
dataList: this.dataList,
|
||||
commentText: this.commentText
|
||||
}));
|
||||
saveTaskForPub(_formData).then(res => {
|
||||
|
||||
@@ -193,10 +193,10 @@
|
||||
:color="roleForm.dockUser ? '#66b1ff' : ''" v-if="signFlag === '1'">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
<h4>会签人</h4>
|
||||
<h4>相关业务单位</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.dockUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="选择会签责任人"
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="选择相关业务单位"
|
||||
@click.native="choiceZRRS">
|
||||
</el-input>
|
||||
</div>
|
||||
@@ -207,10 +207,10 @@
|
||||
:color="roleForm.ministerUser ? '#66b1ff' : ''" v-if="signFlag === '1'">
|
||||
<el-card>
|
||||
<el-form-item prop="ministerUserName" style="margin-bottom: 0">
|
||||
<h4>标准/政策法规工程师</h4>
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.ministerUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.ministerUserName" placeholder="选择标准/政策法规工程师"
|
||||
<el-input v-model="roleForm.ministerUserName" placeholder="选择标准法规工程师"
|
||||
disabled></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -220,11 +220,11 @@
|
||||
:color="roleForm.directorUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="directorUserName" style="margin-bottom: 0">
|
||||
<h4>业务经理</h4>
|
||||
<h4>标准法规部法规分析业务经理</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.directorUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.directorUserName" placeholder="选择业务经理"
|
||||
@click.native="choiceZRR('directorUser', '选择业务经理', roleForm.directorUser)"></el-input>
|
||||
<el-input v-model="roleForm.directorUserName" placeholder="选择标准法规部法规分析业务经理"
|
||||
@click.native="choiceZRR('directorUser', '选择标准法规部法规分析业务经理', roleForm.directorUser)"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
|
||||
@@ -180,10 +180,10 @@
|
||||
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="startUserName" style="margin-bottom: 0">
|
||||
<h4>标准/政策法规工程师</h4>
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.startUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.startUserName" placeholder="流程发起人"
|
||||
<el-input v-model="roleForm.startUserName" placeholder="选择标准法规工程师"
|
||||
disabled></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -193,10 +193,10 @@
|
||||
:color="roleForm.dockUser ? '#66b1ff' : ''" v-if="signFlag === '1'">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
<h4>会签人</h4>
|
||||
<h4>相关业务单位</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.dockUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="选择会签责任人"
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="选择相关业务单位"
|
||||
@click.native="choiceZRRS">
|
||||
</el-input>
|
||||
</div>
|
||||
@@ -207,10 +207,10 @@
|
||||
:color="roleForm.ministerUser ? '#66b1ff' : ''" v-if="signFlag === '1'">
|
||||
<el-card>
|
||||
<el-form-item prop="ministerUserName" style="margin-bottom: 0">
|
||||
<h4>标准/政策法规工程师</h4>
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.ministerUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.ministerUserName" placeholder="选择标准/政策法规工程师"
|
||||
<el-input v-model="roleForm.ministerUserName" placeholder="选择标准法规工程师"
|
||||
disabled></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -220,11 +220,11 @@
|
||||
:color="roleForm.directorUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="directorUserName" style="margin-bottom: 0">
|
||||
<h4>业务经理</h4>
|
||||
<h4>标准法规部法规分析业务经理</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.directorUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.directorUserName" placeholder="选择业务经理"
|
||||
@click.native="choiceZRR('directorUser', '选择业务经理', roleForm.directorUser)"></el-input>
|
||||
<el-input v-model="roleForm.directorUserName" placeholder="选择标准法规部法规分析业务经理"
|
||||
@click.native="choiceZRR('directorUser', '选择标准法规部法规分析业务经理', roleForm.directorUser)"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
|
||||
@@ -953,9 +953,9 @@
|
||||
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.prcCreateUserName ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="prcCreateUserName" style="margin-bottom: 0">
|
||||
<h4>流程发起人</h4>
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input disabled v-model="roleForm.prcCreateUserName" placeholder="流程发起人"></el-input>
|
||||
<el-input disabled v-model="roleForm.prcCreateUserName" placeholder="请选择标准法规工程师"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -963,9 +963,9 @@
|
||||
<el-timeline-item timestamp="会签" v-if="form.signFlag === '1'" prop="zrUserName" placement="top" :color="roleForm.zrUserName ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="zrUserName" style="margin-bottom: 0">
|
||||
<h4>会签责任人</h4>
|
||||
<h4>责任工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.zrUserName" placeholder="选择会签责任人" @click.native="choiceZRRS('zrUserId', '选择责任人', form.zrUserId)">
|
||||
<el-input v-model="roleForm.zrUserName" placeholder="请选择责任工程师" @click.native="choiceZRRS('zrUserId', '选择责任人', form.zrUserId)">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -974,9 +974,9 @@
|
||||
<el-timeline-item timestamp="修订" v-if="form.signFlag === '1'" placement="top" :color="roleForm.applyUpdUserName ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="applyUpdUserName" style="margin-bottom: 0">
|
||||
<h4>修订申请人</h4>
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input disabled v-model="roleForm.applyUpdUserName" placeholder="修订申请人"></el-input>
|
||||
<el-input disabled v-model="roleForm.applyUpdUserName" placeholder="请选择标准法规工程师"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -984,9 +984,9 @@
|
||||
<el-timeline-item timestamp="批准" prop="jlUserName" placement="top" :color="roleForm.jlUserName ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="jlUserName" style="margin-bottom: 0">
|
||||
<h4>标准法规业务经理</h4>
|
||||
<h4>标准法规部法规分析业务经理</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.jlUserName" placeholder="标准法规业务经理" @click.native="choiceZRR('jlUserId', '选择标准法规业务经理', form.jlUserId)"></el-input>
|
||||
<el-input v-model="roleForm.jlUserName" placeholder="请选择标准法规部法规分析业务经理" @click.native="choiceZRR('jlUserId', '选择标准法规业务经理', form.jlUserId)"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -1598,10 +1598,10 @@ export default {
|
||||
},
|
||||
roleRules: {
|
||||
zrUserName: [
|
||||
{required: true, message: '请选择会签责任人', trigger: 'blur'},
|
||||
{required: true, message: '请选择责任工程师', trigger: 'blur'},
|
||||
],
|
||||
jlUserName: [
|
||||
{required: true, message: '选择标准法规业务经理', trigger: 'blur'},
|
||||
{required: true, message: '请选择标准法规部法规分析业务经理', trigger: 'blur'},
|
||||
],
|
||||
},
|
||||
rules: {
|
||||
|
||||
@@ -12,98 +12,81 @@
|
||||
<div class="content" v-show="active === '1'">
|
||||
<div style="flex: auto; overflow: auto;">
|
||||
<el-form
|
||||
ref="bzzqyjForm"
|
||||
:model="form"
|
||||
:rules="formRules"
|
||||
class="label-input-form"
|
||||
label-width="210px"
|
||||
>
|
||||
<ProcessTitle>
|
||||
<template slot="title">基础信息</template>
|
||||
</ProcessTitle>
|
||||
<div class="prc-content-border">
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="标准号/名称" prop="cid" class="add-form-item form-item-disabled">
|
||||
<div class="addButton" style="padding-left: 10px">
|
||||
<el-button size="small" type="primary" @click="addZqyjList">选择标准</el-button>
|
||||
</div>
|
||||
ref="Form"
|
||||
:model="roleForm"
|
||||
:rules="roleFormRules"
|
||||
class="label-input-form myForm">
|
||||
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="startUserName" style="margin-bottom: 0">
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.startUser" style="display: none;"/>
|
||||
<el-input v-model="roleForm.startUserName" placeholder="标准法规工程师" disabled/>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="任务分发" placement="top" :color="roleForm.dockUserList ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserList" style="margin-bottom: 0">
|
||||
<h4>标准法规工程师、事业部标准化员</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.dockUserList" style="display: none;"/>
|
||||
<el-input
|
||||
disabled
|
||||
v-model="form.cid"
|
||||
placeholder="请输入标准编号"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.endTime"
|
||||
type="date"
|
||||
:picker-options="pickerOptions"
|
||||
placeholder="请选择结束日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="文本状态" prop="textType" class="add-form-item form-item-disabled">
|
||||
<el-select :disabled="!form.cid" v-model="form.textType" placeholder="请选择">
|
||||
<el-option
|
||||
v-for="(item, index) in textTypeList"
|
||||
:key="index"
|
||||
:label="item.label"
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="标准附件" prop="fjListId" class="add-form-item form-item-disabled">
|
||||
<div class="addButton" style="padding-left: 10px">
|
||||
<el-button size="small" type="primary" :disabled="!form.cid" @click="addfjList">选择附件</el-button>
|
||||
</div>
|
||||
v-model="roleForm.dockUserListName"
|
||||
placeholder="选择标准法规工程师、事业部标准化员"
|
||||
@click.native="choiceZRRS('1')">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="审核" placement="top" :color="roleForm.ministerUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="ministerUser" style="margin-bottom: 0">
|
||||
<h4>标准法规部高级经理、责任部门高级经理</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.ministerUser" style="display: none;"/>
|
||||
<el-input
|
||||
v-model="form.fjListId"
|
||||
style="display: none;"
|
||||
></el-input>
|
||||
<div style="">
|
||||
<div class="fileClass" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index">
|
||||
<span @click="fileLook(item)" >{{ item.fileName }}</span>
|
||||
<el-button
|
||||
size="small"
|
||||
@click="filesUpload(item)"
|
||||
icon="el-icon-download"
|
||||
style="height: 32px; margin-left: 5px;"
|
||||
></el-button>
|
||||
</div>
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="上传附件" prop="modelNameList" class="add-form-item form-item-disabled">
|
||||
v-model="roleForm.ministerUserName"
|
||||
placeholder="选择标准法规部高级经理、责任部门高级经理"
|
||||
@click.native="choiceZRR('ministerUser', '选择标准法规部高级经理、责任部门高级经理', roleForm.ministerUser)"
|
||||
/>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="审定" placement="top" :color="roleForm.directorUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="directorUser" style="margin-bottom: 0">
|
||||
<h4>技术委员会相关专委会主任/ 工程研究总院责任部门中心主任、技术管理中心主任</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.directorUser" style="display: none;"/>
|
||||
<el-input
|
||||
disabled
|
||||
style="display: none;"
|
||||
v-model="form.modelNameList"
|
||||
clearable
|
||||
></el-input>
|
||||
<div v-if="form.modelList.length > 0" class="fileClass" style="">
|
||||
<div v-for="(item, index) in form.modelList" :key="index" style="margin-right: 5px; padding-left: 10px;">
|
||||
<span @click="fileLook(item)">{{ item.name }}</span>
|
||||
<el-button
|
||||
size="small"
|
||||
@click="filesUpload(item)"
|
||||
icon="el-icon-download"
|
||||
style="height: 32px; margin-left: 5px;"
|
||||
></el-button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="addButton" style="padding-left: 10px">
|
||||
<el-button
|
||||
type="primary"
|
||||
class="common-button-primary"
|
||||
@click="fileUpload"
|
||||
size="small">
|
||||
点击上传
|
||||
</el-button>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
v-model="roleForm.directorUserName"
|
||||
placeholder="选择技术委员会相关专委会主任/ 工程研究总院责任部门中心主任、技术管理中心主任"
|
||||
@click.native="choiceZRRS('2')"
|
||||
/>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="批准" placement="top" :color="roleForm.presidentUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="presidentUser" style="margin-bottom: 0">
|
||||
<h4>工程研究院总院院长/标准法规业务主管副院长</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.presidentUser" style="display: none;"/>
|
||||
<el-input
|
||||
v-model="roleForm.presidentUserName"
|
||||
placeholder="选择工程研究院总院院长/标准法规业务主管副院长"
|
||||
@click.native="choiceZRR('presidentUser', '选择工程研究院总院院长/标准法规业务主管副院长', roleForm.presidentUser)"
|
||||
/>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
</el-form>
|
||||
</div>
|
||||
<el-collapse accordion v-model="activeNames">
|
||||
@@ -794,12 +777,12 @@ export default {
|
||||
this.type2 = type
|
||||
this.nodeList2 = []
|
||||
if (type === '1') {
|
||||
this.drawerTitle2 = '选择责任部门对接人'
|
||||
this.drawerTitle2 = '选择标准法规工程师、事业部标准化员'
|
||||
if ( this.roleForm.dockUserList.length > 0) {
|
||||
this.nodeList2 = this.roleForm.dockUserList.split(',')
|
||||
}
|
||||
} else {
|
||||
this.drawerTitle2 = '技术委员会相关专委会主任/研究总院职能部门领导,技术管理中心主任'
|
||||
this.drawerTitle2 = '选择技术委员会相关专委会主任/ 工程研究总院责任部门中心主任、技术管理中心主任'
|
||||
if (this.roleForm.directorUser.length > 0) {
|
||||
this.nodeList2 = this.roleForm.directorUser.split(',')
|
||||
}
|
||||
|
||||
@@ -128,72 +128,72 @@
|
||||
:model="roleForm"
|
||||
:rules="roleFormRules"
|
||||
class="label-input-form myForm">
|
||||
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="startUserName" style="margin-bottom: 0">
|
||||
<h4>流程发起人</h4>
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.startUser" style="display: none;"/>
|
||||
<el-input v-model="roleForm.startUserName" placeholder="流程发起人" disabled/>
|
||||
<el-input v-model="roleForm.startUserName" placeholder="标准法规工程师" disabled/>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="指派责任人" placement="top" :color="roleForm.dockUserList ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="任务分发" placement="top" :color="roleForm.dockUserList ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserList" style="margin-bottom: 0">
|
||||
<h4>责任部门对接人</h4>
|
||||
<h4>标准法规工程师、事业部标准化员</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.dockUserList" style="display: none;"/>
|
||||
<el-input
|
||||
v-model="roleForm.dockUserListName"
|
||||
placeholder="选择责任部门对接人"
|
||||
placeholder="选择标准法规工程师、事业部标准化员"
|
||||
@click.native="choiceZRRS('1')">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="审核征求意见" placement="top" :color="roleForm.ministerUser ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="审核" placement="top" :color="roleForm.ministerUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="ministerUser" style="margin-bottom: 0">
|
||||
<h4>标准法规部部长</h4>
|
||||
<h4>标准法规部高级经理、责任部门高级经理</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.ministerUser" style="display: none;"/>
|
||||
<el-input
|
||||
v-model="roleForm.ministerUserName"
|
||||
placeholder="选择标准法规部部长"
|
||||
@click.native="choiceZRR('ministerUser', '选择标准法规部部长', roleForm.ministerUser)"
|
||||
placeholder="选择标准法规部高级经理、责任部门高级经理"
|
||||
@click.native="choiceZRR('ministerUser', '选择标准法规部高级经理、责任部门高级经理', roleForm.ministerUser)"
|
||||
/>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="审定征求意见" placement="top" :color="roleForm.directorUser ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="审定" placement="top" :color="roleForm.directorUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="directorUser" style="margin-bottom: 0">
|
||||
<h4>技术委员会相关专委会主任/研究总院职能部门领导,技术管理中心主任</h4>
|
||||
<h4>技术委员会相关专委会主任/ 工程研究总院责任部门中心主任、技术管理中心主任</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.directorUser" style="display: none;"/>
|
||||
<el-input
|
||||
v-model="roleForm.directorUserName"
|
||||
placeholder="选择技术委员会相关专委会主任/研究总院职能部门领导,技术管理中心主任"
|
||||
placeholder="选择技术委员会相关专委会主任/ 工程研究总院责任部门中心主任、技术管理中心主任"
|
||||
@click.native="choiceZRRS('2')"
|
||||
/>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="批准征求意见" placement="top" :color="roleForm.presidentUser ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="批准" placement="top" :color="roleForm.presidentUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="presidentUser" style="margin-bottom: 0">
|
||||
<h4>工程研究总院院长或标准法规主管副院长</h4>
|
||||
<h4>工程研究院总院院长/标准法规业务主管副院长</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.presidentUser" style="display: none;"/>
|
||||
<el-input
|
||||
v-model="roleForm.presidentUserName"
|
||||
placeholder="选择工程研究总院院长或标准法规主管副院长"
|
||||
@click.native="choiceZRR('presidentUser', '选择工程研究总院院长或标准法规主管副院长', roleForm.presidentUser)"
|
||||
placeholder="选择工程研究院总院院长/标准法规业务主管副院长"
|
||||
@click.native="choiceZRR('presidentUser', '选择工程研究院总院院长/标准法规业务主管副院长', roleForm.presidentUser)"
|
||||
/>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -782,12 +782,12 @@ export default {
|
||||
this.type2 = type
|
||||
this.nodeList2 = []
|
||||
if (type === '1') {
|
||||
this.drawerTitle2 = '选择责任部门对接人'
|
||||
this.drawerTitle2 = '选择标准法规工程师、事业部标准化员'
|
||||
if ( this.roleForm.dockUserList.length > 0) {
|
||||
this.nodeList2 = this.roleForm.dockUserList.split(',')
|
||||
}
|
||||
} else {
|
||||
this.drawerTitle2 = '技术委员会相关专委会主任/研究总院职能部门领导,技术管理中心主任'
|
||||
this.drawerTitle2 = '选择技术委员会相关专委会主任/ 工程研究总院责任部门中心主任、技术管理中心主任'
|
||||
if (this.roleForm.directorUser.length > 0) {
|
||||
this.nodeList2 = this.roleForm.directorUser.split(',')
|
||||
}
|
||||
|
||||
@@ -114,11 +114,11 @@
|
||||
:color="roleForm.examine ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="examineName" style="margin-bottom: 0">
|
||||
<h4>标准体系专业工作组组长</h4>
|
||||
<h4>标准体系工作组组长</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.examine" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.examineName" placeholder="选择标准体系专业工作组组长"
|
||||
@click.native="choiceZRR('examine', '选择标准体系专业工作组组长', roleForm.examine)">
|
||||
<el-input v-model="roleForm.examineName" placeholder="选择标准体系工作组组长"
|
||||
@click.native="choiceZRR('examine', '选择标准体系工作组组长', roleForm.examine)">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -128,11 +128,11 @@
|
||||
:color="roleForm.approver ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="approverName" style="margin-bottom: 0">
|
||||
<h4>工程研究总院标准法规部高级经理</h4>
|
||||
<h4>标准法规部高级经理</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.approver" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.approverName" placeholder="选择工程研究总院标准法规部高级经理"
|
||||
@click.native="choiceZRR('approver', '选择工程研究总院标准法规部高级经理', roleForm.approver)">
|
||||
<el-input v-model="roleForm.approverName" placeholder="选择标准法规部高级经理"
|
||||
@click.native="choiceZRR('approver', '选择标准法规部高级经理', roleForm.approver)">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -142,11 +142,11 @@
|
||||
:color="roleForm.engineer ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="engineerName" style="margin-bottom: 0">
|
||||
<h4>相关单位人员、工程研究总院标准法规部周知</h4>
|
||||
<h4>相关单位、工程研究总院标准法规部</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.engineer" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.engineerName" placeholder="选择相关单位人员、工程研究总院标准法规部周知"
|
||||
@click.native="choiceZRR('engineer', '选择相关单位人员、工程研究总院标准法规部周知', roleForm.engineer)">
|
||||
<el-input v-model="roleForm.engineerName" placeholder="选择相关单位、工程研究总院标准法规部"
|
||||
@click.native="choiceZRR('engineer', '选择相关单位、工程研究总院标准法规部', roleForm.engineer)">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
|
||||
@@ -107,10 +107,10 @@
|
||||
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="startUserName" style="margin-bottom: 0">
|
||||
<h4>流程发起人</h4>
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.startUser" :disabled="true" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.startUserName" :disabled="true" placeholder="流程发起人"></el-input>
|
||||
<el-input v-model="roleForm.startUserName" :disabled="true" placeholder="标准法规工程师"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -118,10 +118,10 @@
|
||||
<el-timeline-item timestamp="立项确认" placement="top" :color="roleForm.dockUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
<h4>责任人</h4>
|
||||
<h4>责任工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.dockUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="责任人" disabled>
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="责任工程师" disabled>
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
|
||||
@@ -76,10 +76,10 @@
|
||||
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="startUserName" style="margin-bottom: 0">
|
||||
<h4>流程发起人</h4>
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.startUser" :disabled="true" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.startUserName" :disabled="true" placeholder="流程发起人"></el-input>
|
||||
<el-input v-model="roleForm.startUserName" :disabled="true" placeholder="标准法规工程师"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -87,10 +87,10 @@
|
||||
<el-timeline-item timestamp="审核" placement="top" :color="roleForm.dockUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
<h4>标准法规工程师</h4>
|
||||
<h4>标准法规部法规分析业务经理</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.dockUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="选择标准法规工程师" @click.native="choiceZRR('dockUser', '选择标准法规工程师', roleForm.dockUser)">
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="请选择标准法规部法规分析业务经理" @click.native="choiceZRR('dockUser', '选择标准法规工程师', roleForm.dockUser)">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -99,10 +99,10 @@
|
||||
<el-timeline-item timestamp="合规排查(上传合规举证材料)" placement="top" :color="roleForm.dockUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
<h4>确认+选择责任人</h4>
|
||||
<h4>责任工程师</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.dutyUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.dutyUserName" :disabled="true" placeholder="确认+选择责任人">
|
||||
<el-input v-model="roleForm.dutyUserName" :disabled="true" placeholder="责任工程师">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -111,10 +111,10 @@
|
||||
<el-timeline-item timestamp="审定" placement="top" :color="roleForm.uploadUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
<h4>负责人</h4>
|
||||
<h4>产品工程经理/项目经理</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.uploadUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.uploadUserName" :disabled="true" placeholder="负责人">
|
||||
<el-input v-model="roleForm.uploadUserName" :disabled="true" placeholder="产品工程经理/项目经理">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -123,10 +123,10 @@
|
||||
<el-timeline-item timestamp="批准" placement="top" :color="roleForm.checkUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
<h4>分发负责人</h4>
|
||||
<h4>标准法规部高级经理</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.checkUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.checkUserName" :disabled="true" placeholder="分发负责人">
|
||||
<el-input v-model="roleForm.checkUserName" :disabled="true" placeholder="标准法规部高级经理">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -285,7 +285,6 @@
|
||||
<el-table-column
|
||||
prop="planCloseTime"
|
||||
width="150"
|
||||
sortable="custom"
|
||||
label="计划关闭时间">
|
||||
<template slot-scope="scope">
|
||||
{{ (scope.row.planCloseTime ? scope.row.planCloseTime.substring(0, 11) : "") }}
|
||||
@@ -294,7 +293,6 @@
|
||||
</el-table>
|
||||
<pagination
|
||||
style="position: relative;"
|
||||
:page="queryUnqualidiedData.pageNo"
|
||||
:total="total"
|
||||
@pageChange="pageChange"
|
||||
@pageSizeChange="pageSizeChange"/>
|
||||
|
||||
@@ -616,49 +616,14 @@ export default {
|
||||
}
|
||||
break
|
||||
case '5':
|
||||
if(mes !== null && mes.taskInfo !== null){
|
||||
if (mes.taskInfo === '选择已拆分标准') {
|
||||
this.$router.push({
|
||||
name: 'xmpgStep1-1',
|
||||
query: {
|
||||
type: '5',
|
||||
processName: '项目合规评估流程-标准',
|
||||
bpnId: id,
|
||||
verifySarStandard: true,
|
||||
}
|
||||
})
|
||||
this.$router.push({
|
||||
name: 'bzpgStep1',
|
||||
query: {
|
||||
type: '5',
|
||||
processName: '项目合规评估流程-标准',
|
||||
bpnId: id
|
||||
}
|
||||
// else if (mes.taskInfo === '分发责任人分发任务') {
|
||||
// this.$router.push({
|
||||
// name: 'bzqdfbStep1-3',
|
||||
// query: {
|
||||
// type: '5',
|
||||
// processName: '项目合规评估流程-标准',
|
||||
// bpnId: id
|
||||
// }
|
||||
// })
|
||||
// }else if (mes.taskInfo === '责任人填写评估反馈') {
|
||||
// this.$router.push({
|
||||
// name: 'bzqdfbStep1-3',
|
||||
// query: {
|
||||
// type: '5',
|
||||
// processName: '项目合规评估流程-标准',
|
||||
// bpnId: id
|
||||
// }
|
||||
// })
|
||||
// }
|
||||
}else {
|
||||
this.$router.push({
|
||||
name: 'xmpgStep1-1',
|
||||
query: {
|
||||
type: '5',
|
||||
processName: '项目合规评估流程-标准',
|
||||
bpnId: id,
|
||||
verifySarStandard: true,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
})
|
||||
break
|
||||
case '6':
|
||||
this.$router.push({
|
||||
|
||||
Reference in New Issue
Block a user