Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="bzqdfb-step1">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">标准清单发布/更新流程</template>
|
||||
<template slot="proNode">发起流程</template>
|
||||
<template slot="proNode">起草</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
@@ -177,7 +177,7 @@
|
||||
:model="roleForm"
|
||||
:rules="roleFormRules"
|
||||
class="label-input-form">
|
||||
<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>
|
||||
@@ -189,7 +189,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="选择会签责任人,填写意见" placement="top"
|
||||
<el-timeline-item timestamp="会签" placement="top"
|
||||
:color="roleForm.dockUser ? '#66b1ff' : ''" v-if="signFlag === '1'">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
@@ -203,7 +203,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="根据会签意见修订" placement="top"
|
||||
<el-timeline-item timestamp="修订" placement="top"
|
||||
:color="roleForm.ministerUser ? '#66b1ff' : ''" v-if="signFlag === '1'">
|
||||
<el-card>
|
||||
<el-form-item prop="ministerUserName" style="margin-bottom: 0">
|
||||
@@ -216,7 +216,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="审批" placement="top"
|
||||
<el-timeline-item timestamp="批准" placement="top"
|
||||
:color="roleForm.directorUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="directorUserName" style="margin-bottom: 0">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="bzqdfb-step3">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">标准清单发布/更新流程</template>
|
||||
<template slot="proNode">根据会签意见修订</template>
|
||||
<template slot="proNode">修订</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="bzqdfb-step4">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">标准清单发布/更新流程</template>
|
||||
<template slot="proNode">业务经理审批</template>
|
||||
<template slot="proNode">批准</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="bzqdfb-step1">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">标准清单发布/更新流程</template>
|
||||
<template slot="proNode">发起流程</template>
|
||||
<template slot="proNode">起草</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
@@ -177,7 +177,7 @@
|
||||
:model="roleForm"
|
||||
:rules="roleFormRules"
|
||||
class="label-input-form">
|
||||
<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>
|
||||
@@ -189,7 +189,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="选择会签责任人,填写意见" placement="top"
|
||||
<el-timeline-item timestamp="会签" placement="top"
|
||||
:color="roleForm.dockUser ? '#66b1ff' : ''" v-if="signFlag === '1'">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
@@ -203,7 +203,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="根据会签意见修订" placement="top"
|
||||
<el-timeline-item timestamp="修订" placement="top"
|
||||
:color="roleForm.ministerUser ? '#66b1ff' : ''" v-if="signFlag === '1'">
|
||||
<el-card>
|
||||
<el-form-item prop="ministerUserName" style="margin-bottom: 0">
|
||||
@@ -216,7 +216,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="审批" placement="top"
|
||||
<el-timeline-item timestamp="批准" placement="top"
|
||||
:color="roleForm.directorUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="directorUserName" style="margin-bottom: 0">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="bzqdfb-step2">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">标准清单发布/更新流程</template>
|
||||
<template slot="proNode">责任人会签流程</template>
|
||||
<template slot="proNode">会签</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="bzqdfb-step3">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">标准清单发布/更新流程</template>
|
||||
<template slot="proNode">根据会签意见修订</template>
|
||||
<template slot="proNode">修订</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
<div class="bzqdfb-step4">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">标准清单发布/更新流程</template>
|
||||
<template slot="proNode">业务经理审批</template>
|
||||
<template slot="proNode">批准</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||
</div>
|
||||
<div class="content" v-show="active == '1'">
|
||||
<div class="content" v-show="active === '1'">
|
||||
<div style="flex: auto; overflow: auto">
|
||||
<process-title>
|
||||
<template slot="title">基础信息</template>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">标准入库流程</template>
|
||||
<template slot="proNode">发起流程</template>
|
||||
<template slot="proNode">起草</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
@@ -950,7 +950,7 @@
|
||||
:model="roleForm"
|
||||
:rules="roleRules"
|
||||
class="label-input-form">
|
||||
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.prcCreateUserName ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.prcCreateUserName ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="prcCreateUserName" style="margin-bottom: 0">
|
||||
<h4>流程发起人</h4>
|
||||
@@ -960,7 +960,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="选择会签责任人" v-if="form.signFlag === '1'" prop="zrUserName" placement="top" :color="roleForm.zrUserName ? '#66b1ff' : ''">
|
||||
<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>
|
||||
@@ -971,7 +971,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="修订申请人" v-if="form.signFlag === '1'" placement="top" :color="roleForm.applyUpdUserName ? '#66b1ff' : ''">
|
||||
<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>
|
||||
@@ -981,7 +981,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="选择标准法规业务经理" prop="jlUserName" placement="top" :color="roleForm.jlUserName ? '#66b1ff' : ''">
|
||||
<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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">标准入库流程</template>
|
||||
<template slot="proNode">经理人审批</template>
|
||||
<template slot="proNode">批准</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
@@ -1146,7 +1146,7 @@ export default {
|
||||
this.defaultCheckedKeys2 = [this.form.kccvppsbm]
|
||||
this.defaultCheckedKeys3 = [this.form.dybxh]
|
||||
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
|
||||
this.form.standYear = this.form.standYear ? parseInt(this.form.standYear) : ''
|
||||
this.form.standYear = this.form.standYear ? this.form.standYear : ''
|
||||
if (this.form.country !== undefined && this.form.country !== null && this.form.country !== '') {
|
||||
this.form.country = this.form.country.split(",");
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">标准入库流程</template>
|
||||
<template slot="proNode">责任人会签</template>
|
||||
<template slot="proNode">会签</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">标准入库流程</template>
|
||||
<template slot="proNode">申请人修订</template>
|
||||
<template slot="proNode">修订</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
<el-form-item prop="wgLeaderName" label="工作组组长" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="qbfsForm.wgLeader" style="display: none;"></el-input>
|
||||
<el-input v-model="qbfsForm.wgLeaderName" placeholder="请选择工作组组长"
|
||||
@click.native="choiceZRR"></el-input>
|
||||
@click.native="choiceLeader"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="计划标准初稿完成时间" style="width: 100%; margin-right:10px" prop="draftTime" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
@@ -306,6 +306,86 @@
|
||||
</div>
|
||||
</div>
|
||||
</el-drawer>
|
||||
<!-- 选择工作组抽屉-->
|
||||
<el-drawer
|
||||
title="选择工作组组长"
|
||||
:visible.sync="workModel"
|
||||
size="900px"
|
||||
custom-class="demo-drawer"
|
||||
>
|
||||
<div class="demo-drawer-content">
|
||||
<div style="position: absolute;bottom: 48px;top:60px;left: 0;right: 0">
|
||||
<div style="position: absolute;bottom: 55px;top: 0;right: 0;left: 0">
|
||||
<div class="left">
|
||||
<el-form :modal="workSearch" :inline="true" class="label-input-form" style="margin-left:10px">
|
||||
<el-form-item label="工作组" class="search-item">
|
||||
<el-input
|
||||
v-model="workSearch.workGroupName"
|
||||
clearable
|
||||
placeholder="根据工作组进行查找"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
type="primary"
|
||||
class="common-button-primary"
|
||||
size="small"
|
||||
@click="getWorkBtn">
|
||||
查询
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
size="small"
|
||||
@click="clearSearch">清空
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
<el-table
|
||||
ref="workGroup"
|
||||
:data="workData"
|
||||
tooltip-effect="dark"
|
||||
border
|
||||
style="width: 100%; flex: auto;"
|
||||
class="drag-table"
|
||||
height="100%"
|
||||
@selection-change="workChange"
|
||||
:header-cell-style="{background: '#E8E8E8', color: '#333333', fontSize: '16px',
|
||||
fontWeight: 'bold', height: '48px'}">
|
||||
>
|
||||
<el-table-column
|
||||
type="selection"
|
||||
width="55"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="workGroup"
|
||||
label="工作组"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="workLeader"
|
||||
label="工作组组长"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<pagination
|
||||
:page="page"
|
||||
:pageSize="pageSize"
|
||||
:total="total"
|
||||
@pageChange="pageChange"
|
||||
@pageSizeChange="pageSizeChange"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="demo-drawer-footer">
|
||||
<el-button size="mini" @click="closeDrawer">取消</el-button>
|
||||
<el-button type="primary" size="mini" @click="OkDrawer">带入</el-button>
|
||||
</div>
|
||||
</el-drawer>
|
||||
<!-- 多选择责任人-->
|
||||
<Role-tree
|
||||
:is-title="drawerTitle2"
|
||||
@@ -345,6 +425,13 @@ export default {
|
||||
props: ['message'],
|
||||
data(){
|
||||
return {
|
||||
workModel: false,
|
||||
workSearch: {
|
||||
workGroupName: "",
|
||||
},
|
||||
total: 0,
|
||||
page: 1,
|
||||
pageSize: this.$store.getters.userInfo.configContent,
|
||||
QYBZmodal: false,
|
||||
TXJGmodal: false,
|
||||
modalshowflagZRBM: false,
|
||||
@@ -353,6 +440,7 @@ export default {
|
||||
children: 'children',
|
||||
label: 'menuName'
|
||||
},
|
||||
workData: [],
|
||||
TXJGList: [],
|
||||
QYBZList: [],
|
||||
QYBZformSelect: [],
|
||||
@@ -374,6 +462,7 @@ export default {
|
||||
modalshowflag: false,
|
||||
nodeList2: [],
|
||||
nodeList: [],
|
||||
workChangeList: [],
|
||||
standSortOptions: [],
|
||||
cbcdOptions: [],
|
||||
BZList: [],
|
||||
@@ -460,6 +549,7 @@ export default {
|
||||
},
|
||||
},
|
||||
mounted(){
|
||||
this.getWorkData()
|
||||
if(!this.qbfsForm.passFlag){
|
||||
this.qbfsForm = {}
|
||||
}
|
||||
@@ -488,6 +578,58 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
choiceLeader(){
|
||||
this.workModel = true
|
||||
},
|
||||
closeDrawer(){
|
||||
this.workModel = false
|
||||
},
|
||||
OkDrawer(){
|
||||
if(this.workChangeList.length > 1 ){
|
||||
this.$message.warning('您只能选择一条数据进行带入')
|
||||
}else if(this.workChangeList.length < 1 ){
|
||||
this.$message.warning('请至少选择一条数据')
|
||||
}else{
|
||||
this.$set(this.qbfsForm, 'wgLeader', this.workChangeList[0].workLeaderId)
|
||||
this.$set(this.qbfsForm, 'wgLeaderName', this.workChangeList[0].workLeader)
|
||||
if(this.qbfsForm.wgLeaderName){
|
||||
this.$refs.qbfsForm.validateField('wgLeaderName')
|
||||
}
|
||||
this.workModel = false
|
||||
}
|
||||
},
|
||||
getWorkBtn(){
|
||||
this.page = 1
|
||||
this.getWorkData()
|
||||
},
|
||||
clearSearch(){
|
||||
this.workSearch.workGroupName = ''
|
||||
this.getWorkData()
|
||||
},
|
||||
pageChange(page){
|
||||
this.page = page
|
||||
this.getWorkData()
|
||||
},
|
||||
pageSizeChange(pageSize){
|
||||
this.pageSize = pageSize
|
||||
this.getWorkData()
|
||||
},
|
||||
workChange(data) {
|
||||
this.workChangeList = data
|
||||
},
|
||||
getWorkData() {
|
||||
this.$http.get("workGroup/work-group", {
|
||||
pageSize: this.pageSize,
|
||||
page: this.page,
|
||||
workGroupName: this.workSearch.workGroupName
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.workData = res.data.records;
|
||||
this.total = res.data.total;
|
||||
}, e => {
|
||||
});
|
||||
},
|
||||
assemble(ids,names){
|
||||
let list= new Array();
|
||||
let idArray=ids.split(',');
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
<el-form-item label="工作组组长" prop="wgLeaderName" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="qbfsForm.wgLeader" style="display: none;"></el-input>
|
||||
<el-input v-model="qbfsForm.wgLeaderName" placeholder="请选择工作组组长"
|
||||
@click.native="choiceZRR"></el-input>
|
||||
@click.native="choiceLeader"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="标准发布时间" prop="releaseTime" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
@@ -459,6 +459,86 @@
|
||||
</div>
|
||||
</div>
|
||||
</el-drawer>
|
||||
<!-- 选择工作组抽屉-->
|
||||
<el-drawer
|
||||
title="选择工作组组长"
|
||||
:visible.sync="workModel"
|
||||
size="900px"
|
||||
custom-class="demo-drawer"
|
||||
>
|
||||
<div class="demo-drawer-content">
|
||||
<div style="position: absolute;bottom: 48px;top:60px;left: 0;right: 0">
|
||||
<div style="position: absolute;bottom: 55px;top: 0;right: 0;left: 0">
|
||||
<div class="left">
|
||||
<el-form :modal="workSearch" :inline="true" class="label-input-form" style="margin-left:10px">
|
||||
<el-form-item label="工作组" class="search-item">
|
||||
<el-input
|
||||
v-model="workSearch.workGroupName"
|
||||
clearable
|
||||
placeholder="根据工作组进行查找"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
type="primary"
|
||||
class="common-button-primary"
|
||||
size="small"
|
||||
@click="getWorkBtn">
|
||||
查询
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
size="small"
|
||||
@click="clearWorkSearch">清空
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
<el-table
|
||||
ref="workGroup"
|
||||
:data="workData"
|
||||
tooltip-effect="dark"
|
||||
border
|
||||
style="width: 100%; flex: auto;"
|
||||
class="drag-table"
|
||||
height="100%"
|
||||
@selection-change="workChange"
|
||||
:header-cell-style="{background: '#E8E8E8', color: '#333333', fontSize: '16px',
|
||||
fontWeight: 'bold', height: '48px'}">
|
||||
>
|
||||
<el-table-column
|
||||
type="selection"
|
||||
width="55"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="workGroup"
|
||||
label="工作组"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="workLeader"
|
||||
label="工作组组长"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<pagination
|
||||
:page="pageNo"
|
||||
:pageSize="pageSizeNo"
|
||||
:total="totalNo"
|
||||
@pageChange="pageChangeNo"
|
||||
@pageSizeChange="pageSizeChangeNo"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="demo-drawer-footer">
|
||||
<el-button size="mini" @click="closeWorkDrawer">取消</el-button>
|
||||
<el-button type="primary" size="mini" @click="OkWorkDrawer">带入</el-button>
|
||||
</div>
|
||||
</el-drawer>
|
||||
<!-- 多选择责任人-->
|
||||
<Role-tree
|
||||
:is-title="drawerTitle2"
|
||||
@@ -499,6 +579,15 @@ export default {
|
||||
props: ['message'],
|
||||
data(){
|
||||
return {
|
||||
workModel: false,
|
||||
workSearch: {
|
||||
workGroupName: "",
|
||||
},
|
||||
totalNo: 0,
|
||||
pageNo: 1,
|
||||
pageSizeNo: this.$store.getters.userInfo.configContent,
|
||||
workData: [],
|
||||
workChangeList: [],
|
||||
QYBZmodal: false,
|
||||
TXJGmodal: false,
|
||||
QYBZShow: false,
|
||||
@@ -649,6 +738,58 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
choiceLeader(){
|
||||
this.workModel = true
|
||||
},
|
||||
closeWorkDrawer(){
|
||||
this.workModel = false
|
||||
},
|
||||
OkWorkDrawer(){
|
||||
if(this.workChangeList.length > 1 ){
|
||||
this.$message.warning('您只能选择一条数据进行带入')
|
||||
}else if(this.workChangeList.length < 1 ){
|
||||
this.$message.warning('请至少选择一条数据')
|
||||
}else{
|
||||
this.$set(this.qbfsForm, 'wgLeader', this.workChangeList[0].workLeaderId)
|
||||
this.$set(this.qbfsForm, 'wgLeaderName', this.workChangeList[0].workLeader)
|
||||
if(this.qbfsForm.wgLeaderName){
|
||||
this.$refs.qbfsForm.validateField('wgLeaderName')
|
||||
}
|
||||
this.workModel = false
|
||||
}
|
||||
},
|
||||
getWorkBtn(){
|
||||
this.page = 1
|
||||
this.getWorkData()
|
||||
},
|
||||
clearWorkSearch(){
|
||||
this.workSearch.workGroupName = ''
|
||||
this.getWorkData()
|
||||
},
|
||||
pageChangeNo(page){
|
||||
this.pageNo = page
|
||||
this.getWorkData()
|
||||
},
|
||||
pageSizeChangeNo(pageSize){
|
||||
this.pageSizeNo = pageSize
|
||||
this.getWorkData()
|
||||
},
|
||||
workChange(data) {
|
||||
this.workChangeList = data
|
||||
},
|
||||
getWorkData() {
|
||||
this.$http.get("workGroup/work-group", {
|
||||
pageSize: this.pageSizeNo,
|
||||
page: this.pageNo,
|
||||
workGroupName: this.workSearch.workGroupName
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.workData = res.data.records;
|
||||
this.total = res.data.total;
|
||||
}, e => {
|
||||
});
|
||||
},
|
||||
//体系结构单选
|
||||
handleClick(data,checked, node){
|
||||
if(checked){
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="qbzxd-jhgk">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订计划管控</template>
|
||||
<template slot="proNode">立项申报单位</template>
|
||||
<template slot="proNode">起草</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
@@ -65,7 +65,7 @@
|
||||
:model="roleForm"
|
||||
:rules="roleFormRules"
|
||||
class="label-input-form">
|
||||
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.prcCreateUser ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.prcCreateUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="prcCreateUserName" style="margin-bottom: 0">
|
||||
<h4>标准立项申请人</h4>
|
||||
@@ -77,7 +77,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="选择标准立项单位整车/系统总工审核" placement="top"
|
||||
<el-timeline-item timestamp="审核" placement="top"
|
||||
:color="roleForm.dockUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
@@ -91,7 +91,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="选择会签人员会签" placement="top"
|
||||
<el-timeline-item timestamp="会签" placement="top"
|
||||
:color="roleForm.countersigner ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="countersignerName" style="margin-bottom: 0">
|
||||
@@ -110,7 +110,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="选择标准体系专业工作组组长审定" placement="top"
|
||||
<el-timeline-item timestamp="审定" placement="top"
|
||||
:color="roleForm.examine ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="examineName" style="margin-bottom: 0">
|
||||
@@ -124,7 +124,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="选择工程研究总院标准法规部高级经理批准" placement="top"
|
||||
<el-timeline-item timestamp="批准" placement="top"
|
||||
:color="roleForm.approver ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="approverName" style="margin-bottom: 0">
|
||||
@@ -138,7 +138,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="选择相关单位人员、工程研究总院标准法规部周知" placement="top"
|
||||
<el-timeline-item timestamp="抄送" placement="top"
|
||||
:color="roleForm.engineer ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="engineerName" style="margin-bottom: 0">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="qbzxdlxStep1">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订立项计划流程</template>
|
||||
<template slot="proNode">发起流程</template>
|
||||
<template slot="proNode">起草</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
@@ -115,7 +115,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="责任人确认" placement="top" :color="roleForm.dockUser ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="立项确认" placement="top" :color="roleForm.dockUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
<h4>责任人</h4>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="qbzxdlxStep2">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订立项计划流程</template>
|
||||
<template slot="proNode">发起流程</template>
|
||||
<template slot="proNode">立项确认</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="wfhxzgStep1">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">未符合项整改流程</template>
|
||||
<template slot="proNode">发起流程</template>
|
||||
<template slot="proNode">起草</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
@@ -73,7 +73,7 @@
|
||||
:model="roleForm"
|
||||
:rules="roleFormRules"
|
||||
class="label-input-form">
|
||||
<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>
|
||||
@@ -84,7 +84,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="下发标准法规工程师" placement="top" :color="roleForm.dockUser ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="审核" placement="top" :color="roleForm.dockUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
<h4>标准法规工程师</h4>
|
||||
@@ -96,7 +96,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="确认+选择责任人" placement="top" :color="roleForm.dockUser ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="合规排查(上传合规举证材料)" placement="top" :color="roleForm.dockUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
<h4>确认+选择责任人</h4>
|
||||
@@ -108,7 +108,7 @@
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="上传佐证材料填选择写信息" placement="top" :color="roleForm.uploadUser ? '#66b1ff' : ''">
|
||||
<el-timeline-item timestamp="审定" placement="top" :color="roleForm.uploadUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
<h4>负责人</h4>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="wfhxzgStep2">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">未符合项整改流程</template>
|
||||
<template slot="proNode">分发负责人流程</template>
|
||||
<template slot="proNode">审核</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="wfhxzgStep3">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">未符合项整改流程</template>
|
||||
<template slot="proNode">确认负责人流程</template>
|
||||
<template slot="proNode">合规排查(上传合规举证材料)</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="wfhxzgStep4">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">未符合项整改流程</template>
|
||||
<template slot="proNode">负责人上传佐证</template>
|
||||
<template slot="proNode">审定</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="wfhxzgStep5">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">未符合项整改流程</template>
|
||||
<template slot="proNode">分发负责人审核材料</template>
|
||||
<template slot="proNode">批准</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
|
||||
@@ -285,18 +285,18 @@
|
||||
style="display: none;"
|
||||
v-model="addForm.unit">
|
||||
</el-input>
|
||||
<el-input
|
||||
clearable
|
||||
v-model="addForm.unitName"
|
||||
readonly>
|
||||
</el-input>
|
||||
<!-- <el-input-->
|
||||
<!-- clearable-->
|
||||
<!-- v-model="addForm.unitName"-->
|
||||
<!-- placeholder="请选择起草责任单位"-->
|
||||
<!-- readonly-->
|
||||
<!-- @click.native="choiceZRBM(addForm.unit)">-->
|
||||
<!-- readonly>-->
|
||||
<!-- </el-input>-->
|
||||
<el-input
|
||||
clearable
|
||||
v-model="addForm.unitName"
|
||||
placeholder="请选择起草责任单位"
|
||||
readonly
|
||||
@click.native="choiceZRBM(addForm.unit)">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item prop="drafter" label="起草人" style="width: 100%; margin-right:10px" class="add-form-item" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
|
||||
@@ -318,7 +318,8 @@
|
||||
style="display: none;"
|
||||
v-model="addForm.wgLeader"
|
||||
:maxlength="500"/>
|
||||
<el-input :disabled="DrawerType === 'see'" v-model="addForm.wgLeaderName" placeholder="请选择工作组组长" readonly="readonly" @click.native="choiceZRR('wgLeader', '选择工作组组长', addForm.wgLeader)"></el-input>
|
||||
<el-input :disabled="DrawerType === 'see'" v-model="addForm.wgLeaderName" placeholder="请选择工作组组长" readonly="readonly" @click.native="workGroup(addForm.wgLeader)"></el-input>
|
||||
<!-- <el-input :disabled="DrawerType === 'see'" v-model="addForm.wgLeaderName" placeholder="请选择工作组组长" readonly="readonly" @click.native="choiceZRR('wgLeader', '选择工作组组长', addForm.wgLeader)"></el-input>-->
|
||||
</el-form-item>
|
||||
<el-form-item label="计划标准初稿完成时间" style="width: 100%; margin-right:10px" prop="draftTime" class="add-form-item" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
|
||||
<el-date-picker
|
||||
@@ -595,6 +596,90 @@
|
||||
</div>
|
||||
</div>
|
||||
</el-drawer>
|
||||
<el-dialog
|
||||
:visible.sync="workGroupFlag"
|
||||
width="1000px"
|
||||
title="选择工作组组长"
|
||||
destroy-on-close
|
||||
:close-on-click-modal="false"
|
||||
@closed="workGroupClose">
|
||||
<div>
|
||||
<div class="search-area">
|
||||
<el-form :model="workSearch" inline class="label-input-form">
|
||||
<el-form-item label="工作组" class="search-item">
|
||||
<el-input
|
||||
v-model="workSearch.workGroupName"
|
||||
clearable
|
||||
placeholder="根据工作组进行查找"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="工作组组长" class="search-item">
|
||||
<el-input
|
||||
v-model="workSearch.leaderName"
|
||||
clearable
|
||||
placeholder="根据工作组组长进行查找"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="" class="search-item btn-box">
|
||||
<el-button class="common-button-primary" type="primary" size="mini" @click="searchPostName"
|
||||
v-btn-permission="">查询
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item label="" class="search-item btn-box">
|
||||
<el-button class="common-button-default" @click="resetSelect" size="mini"
|
||||
v-btn-permission="">清空
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
<div style="height: 500px;">
|
||||
<el-table
|
||||
ref="workGroup"
|
||||
:data="workData"
|
||||
tooltip-effect="dark"
|
||||
border
|
||||
style="width: 100%; flex: auto;"
|
||||
class="drag-table"
|
||||
height="443px"
|
||||
@selection-change="workChange"
|
||||
:header-cell-style="{background: '#E8E8E8', color: '#333333', fontSize: '16px',
|
||||
fontWeight: 'bold', height: '48px'}">
|
||||
<el-table-column
|
||||
type="selection"
|
||||
width="55"
|
||||
align="center"
|
||||
/>
|
||||
<el-table-column
|
||||
align="center"
|
||||
prop="workGroup"
|
||||
min-width="300"
|
||||
label="工作组">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
align="center"
|
||||
label="工作组组长"
|
||||
min-width="400px">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.workLeaderGroup.length > 1" v-for="item in scope.row.workLeaderGroup"
|
||||
:key="item.id">{{ item.name + "," }}</span>
|
||||
<span v-else v-for="item in scope.row.workLeaderGroup" :key="item.id">{{ item.name }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination style="bottom: 57px;" :page="workSearch.page" :total="workTotal" :pageSize="workSearch.pageSize" @pageChange="workpageChange"
|
||||
@pageSizeChange="workpageSizeChange"></pagination>
|
||||
</div>
|
||||
<loading :loading="workGroupLoading">加载中...</loading>
|
||||
</div>
|
||||
<div slot="footer" class="demo-drawer-footer">
|
||||
<el-button size="mini" type="primary" class="common-button-default" icon="el-icon-check"
|
||||
@click="workGroupOk">确认
|
||||
</el-button>
|
||||
<el-button size="mini" class="common-button-default" icon="el-icon-check"
|
||||
@click="workGroupClose">取消
|
||||
</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -608,6 +693,18 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
workData: [],
|
||||
workGroupLoading: false,
|
||||
workTotal: 0,
|
||||
workGroupFlag: false,
|
||||
workGroupList: [],
|
||||
workSearch: {
|
||||
workGroupName: '',
|
||||
leaderName: '',
|
||||
page: 1,
|
||||
pageSize: this.$store.getters.userInfo.configContent,
|
||||
},
|
||||
|
||||
LXDList: [],
|
||||
CBList: [],
|
||||
BZList: [],
|
||||
@@ -727,6 +824,82 @@
|
||||
props: {},
|
||||
watch: {},
|
||||
methods: {
|
||||
workChange (data) {
|
||||
this.workGroupList = data
|
||||
},
|
||||
workpageChange (page) {
|
||||
this.workSearch.page = page;
|
||||
this.getWorkData()
|
||||
},
|
||||
workpageSizeChange (pageSize) {
|
||||
this.workSearch.pageSize = pageSize;
|
||||
this.getWorkData()
|
||||
},
|
||||
searchPostName () {
|
||||
this.workSearch.page = 1;
|
||||
this.getWorkData();
|
||||
},
|
||||
resetSelect () {
|
||||
this.workSearch = {
|
||||
leaderName: '',
|
||||
workGroupName: '',
|
||||
page: 1,
|
||||
pageSize: this.$store.getters.userInfo.configContent
|
||||
};
|
||||
this.getWorkData();
|
||||
},
|
||||
getWorkData () {
|
||||
this.workGroupLoading = true
|
||||
this.$http.get("workGroup/work-group", {
|
||||
...this.workSearch
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.workGroupLoading = false
|
||||
res.data.records.map(item => {
|
||||
item.workLeaderGroup = [];
|
||||
item.workPeopleGroup = [];
|
||||
var workLeaderArray = item.workLeader.split(",");
|
||||
var workPeopleArray = item.workPeople.split(",");
|
||||
var workLeaderIdArray = item.workLeaderId.split(",");
|
||||
var workPeopleIdArray = item.workPeopleId.split(",");
|
||||
for (var i = 0; i < workLeaderArray.length; i++) {
|
||||
item.workLeaderGroup.push({ name: workLeaderArray[i], id: workLeaderIdArray[i] });
|
||||
}
|
||||
for (var j = 0; j < workPeopleArray.length; j++) {
|
||||
item.workPeopleGroup.push({ name: workPeopleArray[j], id: workPeopleIdArray[j] });
|
||||
}
|
||||
});
|
||||
this.workData = res.data.records;
|
||||
this.workTotal = res.data.total;
|
||||
}, e => {
|
||||
});
|
||||
},
|
||||
workGroupOk () {
|
||||
if (this.workGroupList.length > 1) {
|
||||
this.$message.warning('仅能选择一个工作组')
|
||||
} else if (this.workGroupList.length === 1) {
|
||||
this.addForm.wgLeader = this.workGroupList[0].workLeaderId
|
||||
this.addForm.wgLeaderName = this.workGroupList[0].workLeader
|
||||
this.workGroupFlag = false
|
||||
} else {
|
||||
this.$message.warning('请选择一个工作组')
|
||||
}
|
||||
},
|
||||
workGroupClose () {
|
||||
this.workGroupList = []
|
||||
this.workSearch = {
|
||||
leaderName: '',
|
||||
workGroupName: '',
|
||||
page: 1,
|
||||
pageSize: this.$store.getters.userInfo.configContent
|
||||
}
|
||||
this.workGroupFlag = false
|
||||
},
|
||||
workGroup (id) {
|
||||
this.workGroupFlag = true
|
||||
this.getWorkData()
|
||||
},
|
||||
getMap1(item){
|
||||
const map = new Map();
|
||||
map.set('0','未开始')
|
||||
@@ -906,7 +1079,6 @@
|
||||
this.modalshowflag2 = true
|
||||
},
|
||||
checkedRole2 (data) {
|
||||
console.log(data);
|
||||
let idList = ''
|
||||
let nameList = ''
|
||||
let bmIdList = ''
|
||||
|
||||
Reference in New Issue
Block a user