Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -22,7 +22,7 @@ export default {
|
||||
value: "laws1"
|
||||
},
|
||||
{
|
||||
label: "企标制修订流程及企业标准库流程",
|
||||
label: "企标制修订-技术标准",
|
||||
value: "buss1"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">发起企标制修订流程</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2442,7 +2442,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: '发起企标制修订流程',
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">专委会副主任/起草单位中心主任审定</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">专委会主任/总院院长或主管副院长批准</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">主起草人培训</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">企标编写流程</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2276,7 +2276,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">企标汇总修订</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2275,7 +2275,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">标准化员审批</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">会签征求意见</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2483,7 +2483,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">主起草人修订并组织评审</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2381,7 +2381,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">标准法规工程师复审</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2543,7 +2543,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">技术委员会负责人/起草中心主任审核</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2513,7 +2513,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">标准法规部部长审核</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2513,7 +2513,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">重新企标汇总修订</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">重新修订并组织评审</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">企标制修订流程详情</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
</ProcessTitle>
|
||||
<div class="tableTitle">
|
||||
<div class="tableButton">
|
||||
<el-button plain class="common-button-primary" size="mini" @click="addList">添加</el-button>
|
||||
<el-button plain class="common-button-primary" size="mini" @click="deleteList">批量删除</el-button>
|
||||
<el-button size="mini" type="primary" @click="addList">添加</el-button>
|
||||
<el-button size="mini" type="danger" @click="deleteList">批量删除</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<el-table
|
||||
@@ -237,6 +237,7 @@
|
||||
:total="total"
|
||||
@pageChange="pageChange"
|
||||
@pageSizeChange="pageSizeChange"/>
|
||||
<loading :loading="loading">数据获取中</loading>
|
||||
<div class="demo-drawer-footer">
|
||||
<el-button size="mini" @click="closeDrawer">取消</el-button>
|
||||
<el-button type="primary" size="mini" @click="OkDrawer">确认</el-button>
|
||||
@@ -271,6 +272,7 @@ export default {
|
||||
name: "wfhxzgStep1",
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
textarea: '', // 意见
|
||||
title: '', // 新增编辑抽屉标题
|
||||
ListModel: false, // 新增编辑抽屉开关
|
||||
@@ -341,6 +343,7 @@ export default {
|
||||
},
|
||||
//点击新增事件
|
||||
addList() {
|
||||
this.loading = true
|
||||
dicTypeData().then(res => {
|
||||
if (this.pageNo !== undefined) {
|
||||
this.queryUnqualidiedData.current = this.pageNo
|
||||
@@ -375,6 +378,7 @@ export default {
|
||||
this.$set(item,'fileTextPath',[])
|
||||
})
|
||||
this.total = res.data.total
|
||||
this.loading = false
|
||||
})
|
||||
})
|
||||
this.standModel = true;
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
<img :src="getImg(Math.floor(Math.random() * 6))">
|
||||
</div>
|
||||
<div class="card-top-right">
|
||||
<div class="card-top-right-text">企标制修订流程及企业标准库流程</div>
|
||||
<div class="card-top-right-text">企标制修订-技术标准</div>
|
||||
<div class="card-top-right-line"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -398,7 +398,7 @@ export default {
|
||||
this.$store.commit('setHandleInfo')
|
||||
switch (prcType) {
|
||||
case 'buss1':
|
||||
// 企标制修订流程及企业标准库流程
|
||||
// 企标制修订-技术标准
|
||||
this.$router.push({
|
||||
name: 'bussLibrary1'
|
||||
})
|
||||
|
||||
@@ -0,0 +1,582 @@
|
||||
<template>
|
||||
<div class="phoneWfhxStep3 phoneBox">
|
||||
<ProcessHeaderPhone toggle>
|
||||
<template slot="proName">未符合项整改流程</template>
|
||||
<template slot="proNode">确认负责人流程</template>
|
||||
</ProcessHeaderPhone>
|
||||
<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 style="flex: auto;">
|
||||
<ProcessTitle>
|
||||
<template slot="title">基础信息</template>
|
||||
</ProcessTitle>
|
||||
<div class="content-center">
|
||||
<el-button
|
||||
style="text-align: end"
|
||||
class="common-button-default"
|
||||
size="small"
|
||||
type="primary"
|
||||
@click="dutyPeopleList">
|
||||
批量选择负责人
|
||||
</el-button>
|
||||
</div>
|
||||
<el-table
|
||||
:data="dataList"
|
||||
border
|
||||
ref="multipleTable"
|
||||
@selection-change="handleSelectionMore"
|
||||
height="49%"
|
||||
style="width: 100%"
|
||||
: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 prop="standSerialNumber" show-overflow-tooltip label="标准号" align="center">
|
||||
<template slot-scope="scope">
|
||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSerialNumber }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="productName" label="项目名称" align="center" show-overflow-tooltip/>
|
||||
<el-table-column prop="itemsNum" label="条款号" align="center"/>
|
||||
<el-table-column prop="itemsName" label="条款名称" align="center"/>
|
||||
<el-table-column prop="planCloseTime" label="整改完成时间" align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.planCloseTime ? $moment(scope.row.planCloseTime).format('YYYY-MM-DD') : '' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="responsibleUnit" label="责任部门" align="center"/>
|
||||
<el-table-column prop="dutyEngineer" label="责任工程师" align="center"/>
|
||||
<el-table-column label="选择责任人" prop="dutyPeople" width="200" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div style="display: inline;">
|
||||
<el-input
|
||||
class="input-button"
|
||||
style="width: 60%"
|
||||
@click.native="selectPeople(scope.row)"
|
||||
v-model="scope.row.dutyPeople"
|
||||
size="mini"
|
||||
placeholder="请选择责任人"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<el-collapse accordion>
|
||||
<el-collapse-item title="回执说明">
|
||||
<div style="margin: 10px 0;">
|
||||
<el-input
|
||||
type="textarea"
|
||||
:rows="3"
|
||||
resize="none"
|
||||
placeholder="请输入意见"
|
||||
v-model="commentText">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
</div>
|
||||
<div class="content" v-show="active === '3'">
|
||||
<div class="flow-list">
|
||||
<el-table
|
||||
height="100%"
|
||||
ref="selection"
|
||||
:data="detailData"
|
||||
tooltip-effect="dark"
|
||||
style="width: 100%"
|
||||
border
|
||||
row-key="id"
|
||||
:no-data-text="listNoDataText"
|
||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||
>
|
||||
<el-table-column
|
||||
type="selection"
|
||||
width="55"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="name"
|
||||
label="任务步骤"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="assignee"
|
||||
label="任务受理人"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="createTime"
|
||||
label="创建时间"
|
||||
sortable="custom"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format("YYYY-MM-DD HH:mm:ss") : "" }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="endTime"
|
||||
label="完成时间"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format("YYYY-MM-DD HH:mm:ss") : "" }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="comment"
|
||||
label="流程信息"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.commentText }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="completeFlag"
|
||||
label="状态"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.endTime ? "已完成" : "未完成" }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<loading :loading="loading">流程列表加载中</loading>
|
||||
</div>
|
||||
</div>
|
||||
<ProcessFooter
|
||||
show-save
|
||||
show-submit
|
||||
show-back
|
||||
show-transfer
|
||||
:submitLoading="isSubmit"
|
||||
:saveLoading="saveLoading"
|
||||
:transferLoading="turnLoading"
|
||||
@transfer="handleTurnTo"
|
||||
@back="handleSubmitNo"
|
||||
@save="handleSave"
|
||||
@submit="handleSubmit"
|
||||
>
|
||||
</ProcessFooter>
|
||||
<!-- 写有 check-more 是多人,没有就是单人 -->
|
||||
<phone-role
|
||||
:role-title="roleTitle"
|
||||
:result-list="phoneRoleList"
|
||||
:is-show-phone.sync="showPage"
|
||||
@checkedRole="phoneSumit"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||
import ProcessFooter from '../../components/ProcessFooter'
|
||||
import ProcessTitle from '../../components/ProcessTitle'
|
||||
import {changeAssigneeNew, completeTask, inboundLiaisonDetail, saveTaskForPub} from "@/api/process.js";
|
||||
export default {
|
||||
name: "phoneWfhxStep3",
|
||||
data() {
|
||||
return {
|
||||
passInfo: 0,
|
||||
detailData: [],
|
||||
loading: false,
|
||||
commentText: '', // 意见
|
||||
title: '', // 新增编辑抽屉标题
|
||||
ListModel: false, // 新增编辑抽屉开关
|
||||
nonSearch: {
|
||||
standId: '', // 标准号/名称
|
||||
productName: '', // 项目名称
|
||||
responsibleUnit: '' // 责任部门
|
||||
},
|
||||
active: '1', // 默认显示
|
||||
isSubmit: false,
|
||||
saveLoading: false,
|
||||
turnLoading: false,
|
||||
taskIds: this.$route.query.taskIds,
|
||||
pId: this.$route.query.prcId,
|
||||
userId: this.$route.query.taskAssignee,
|
||||
dataList: [],
|
||||
newDataList: {},
|
||||
// 批量选择负责人table数组
|
||||
selectTableMore: [],
|
||||
|
||||
// 责任部门
|
||||
zNodesSItem: [],
|
||||
|
||||
nodeList: [],
|
||||
drawerTitle: '', //drawer标题
|
||||
modalshowflag: false, // drawer开关
|
||||
treeData: [], // 人员数据
|
||||
defaultProps: {
|
||||
children: 'children',
|
||||
label: 'name'
|
||||
},
|
||||
|
||||
roleDutyPeople: [],
|
||||
roleTransfer: [],
|
||||
// 手机端选人组件
|
||||
phoneRoleList: [],
|
||||
showPage: false,
|
||||
roleTitle: '',
|
||||
}
|
||||
},
|
||||
components: {
|
||||
ProcessHeaderPhone,
|
||||
ProcessFooter,
|
||||
ProcessTitle
|
||||
},
|
||||
created() {
|
||||
this.processTable()
|
||||
this.getData()
|
||||
},
|
||||
computed: {
|
||||
listNoDataText() {
|
||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
processTable() {
|
||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
||||
prcNum: this.$route.query.prcNum,
|
||||
sortWord: this.shunxu ? this.paixu : "",
|
||||
shunxu: this.shunxu
|
||||
}, {
|
||||
loading: "loading",
|
||||
_this: this
|
||||
}, res => {
|
||||
this.detailData = res
|
||||
}, e => {
|
||||
});
|
||||
},
|
||||
getData() {
|
||||
const params = {
|
||||
taskIds: this.taskIds,
|
||||
pId: this.pId,
|
||||
}
|
||||
inboundLiaisonDetail(params).then(res => {
|
||||
const processForm = JSON.parse(res.mesg)
|
||||
this.getFormFieldList(processForm)
|
||||
})
|
||||
},
|
||||
getFormFieldList (item) {
|
||||
this.$nextTick(() => {
|
||||
if (item.passInfo !== 0) {
|
||||
this.passInfo = JSON.parse(JSON.stringify(item)).passInfo
|
||||
} else {
|
||||
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
||||
for (let i = 0; i<fileData.length; i++) {
|
||||
if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
||||
this.dataList = fileData[i].standardInfoList
|
||||
this.standardInfoList = this.dataList
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
// 选择责任人的按钮操作
|
||||
selectPeople(val) {
|
||||
this.$refs.multipleTable.clearSelection();
|
||||
this.newDataList = val
|
||||
this.nodeList = []
|
||||
this.phoneRoleList = this.roleDutyPeople
|
||||
this.showPage = true
|
||||
this.roleTitle = '选择人员信息'
|
||||
},
|
||||
// 批量选择负责人按钮
|
||||
dutyPeopleList(id) {
|
||||
if (this.selectTableMore.length === 0) {
|
||||
this.$message.warning("请选择至少一条数据进行分发责任人");
|
||||
} else {
|
||||
this.nodeList = []
|
||||
this.nodeList.push(id)
|
||||
this.modalshowflag = true
|
||||
}
|
||||
},
|
||||
// 勾选的列表事件
|
||||
handleSelectionMore(val) {
|
||||
this.selectTableMore = val
|
||||
},
|
||||
handleTabs(name) {
|
||||
this.active = name
|
||||
},
|
||||
// 转办按钮
|
||||
handleTurnTo() {
|
||||
this.phoneRoleList = this.roleTransfer
|
||||
this.showPage = true
|
||||
this.roleTitle = '转办处理人'
|
||||
},
|
||||
// 退回按钮
|
||||
handleSubmitNo() {
|
||||
if (this.commentText) {
|
||||
|
||||
var json = {
|
||||
passInfo: 1,
|
||||
actionFlag: 1,
|
||||
commentText: this.commentText,
|
||||
standardInfoList: this.standardInfoList,
|
||||
}
|
||||
const params = new FormData();
|
||||
params.set('json', JSON.stringify(json))
|
||||
params.set('userId', this.$store.getters.userInfo.userId)
|
||||
params.set('taskIds', this.taskIds)
|
||||
completeTask(params).then(res => {
|
||||
if (res.success) {
|
||||
this.$message.success('驳回成功')
|
||||
this.$router.push('/processCenter')
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$message.warning('请输入反馈意见')
|
||||
}
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview (item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: item.standId,
|
||||
// pageType: 'FOREIGN_STAND'
|
||||
pageType: item.standType + '_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
// 保存按钮
|
||||
handleSave() {
|
||||
let zqa = new Map();
|
||||
for (let lastDataListElement of this.dataList) {
|
||||
let a = zqa.get(lastDataListElement.dutyPeopleInfoId)
|
||||
if( a == null){
|
||||
a = {
|
||||
id: lastDataListElement.dutyPeopleInfoId,
|
||||
name: lastDataListElement.dutyPeopleInfo,
|
||||
standardInfoList: []
|
||||
}
|
||||
}
|
||||
a.standardInfoList.push(lastDataListElement);
|
||||
zqa.set(a.id, a);
|
||||
}
|
||||
let list = [];
|
||||
for(let item of zqa) {
|
||||
list.push(item[1])
|
||||
}
|
||||
this.saveLoading = true
|
||||
let _formData = new FormData()
|
||||
_formData.append('taskIds', this.taskIds)
|
||||
_formData.append('json', JSON.stringify({
|
||||
// roleForm: this.roleForm,
|
||||
dockUserList: list,
|
||||
commentText: this.commentText
|
||||
}))
|
||||
saveTaskForPub(_formData).then(res => {
|
||||
this.saveLoading = false
|
||||
this.$message.success('保存成功')
|
||||
this.bpnId = res.result
|
||||
}).catch(e => {
|
||||
this.saveLoading = false
|
||||
})
|
||||
},
|
||||
// 提交按钮
|
||||
handleSubmit() {
|
||||
this.isSubmit = true
|
||||
let flag=false
|
||||
this.dataList.forEach(item => {
|
||||
if (item.dutyPeople === '') {
|
||||
flag = true
|
||||
this.isSubmit = false
|
||||
}
|
||||
})
|
||||
if(flag)return this.$message.warning('请选择负责人填入')
|
||||
let zqa = new Map();
|
||||
for (let lastDataListElement of this.dataList) {
|
||||
let a = zqa.get(lastDataListElement.dutyPeopleId)
|
||||
if( a == null){
|
||||
a = {
|
||||
id: lastDataListElement.dutyPeopleId,
|
||||
name: lastDataListElement.dutyPeople,
|
||||
standardInfoList: []
|
||||
}
|
||||
}
|
||||
a.standardInfoList.push(lastDataListElement);
|
||||
zqa.set(a.id, a);
|
||||
}
|
||||
let list = [];
|
||||
for(let item of zqa) {
|
||||
list.push(item[1])
|
||||
}
|
||||
let json = {
|
||||
passInfo: this.passInfo,
|
||||
responUserList: list,
|
||||
actionFlag: 0
|
||||
}
|
||||
if(flag)return;
|
||||
const params = new FormData();
|
||||
params.set('json', JSON.stringify(json))
|
||||
params.set('userId', this.$store.getters.userInfo.userId)
|
||||
params.set('taskIds', this.taskIds)
|
||||
completeTask(params).then(res => {
|
||||
if (res.success === true) {
|
||||
this.$message.success('提交成功')
|
||||
this.$router.push("/processCenter");
|
||||
}
|
||||
this.isSubmit = false
|
||||
}).catch(e => {
|
||||
this.isSubmit = false
|
||||
})
|
||||
},
|
||||
|
||||
phoneSumit (data) {
|
||||
if (this.roleTitle === '转办处理人') {
|
||||
this.roleTransfer = data
|
||||
this.phoneRoleList = this.roleDutyPeople
|
||||
this.turnLoading = true
|
||||
changeAssigneeNew({
|
||||
taskId: this.taskIds, // 任务id
|
||||
assignee: this.phoneRoleList[0].usId, // 被委托人
|
||||
userId: this.userId, // 委托人
|
||||
pId: this.pId // 流程实例
|
||||
}).then(res =>{
|
||||
if (res.success) {
|
||||
this.turnLoading = false
|
||||
this.$message.success('调整成功')
|
||||
this.$router.push("/processCenter")
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.roleDutyPeople = data
|
||||
this.phoneRoleList = this.roleDutyPeople
|
||||
this.roleForm = data[0]
|
||||
// 选择责任人时input框内值
|
||||
if (this.selectTableMore.length ===0) {
|
||||
this.newDataList.dutyPeople = this.roleForm.userName
|
||||
this.newDataList.dutyPeopleId = this.roleForm.usId
|
||||
}else {
|
||||
this.selectTableMore.forEach(item => {
|
||||
item.dutyPeople = this.roleForm.userName
|
||||
item.dutyPeopleId = this.roleForm.usId
|
||||
})
|
||||
}
|
||||
this.lastDataList = this.dataList
|
||||
}
|
||||
this.modalshowflag = false
|
||||
},
|
||||
|
||||
//查询按钮
|
||||
getTableByPage({ standId, productName, responsibleUnit }) {//多条件和模糊查询
|
||||
this.realList = this.dataList.filter(item => {
|
||||
let matchId = true; // 标准号 筛选
|
||||
let matchName = true; // 项目名称 筛选
|
||||
let matchUnit = true; // 部门 筛选
|
||||
|
||||
if (standId) {
|
||||
const keysId = standId
|
||||
.toUpperCase() // 转大写
|
||||
.replace(' ', '') // 删掉空格
|
||||
.split('') // 切割成 单个字
|
||||
matchId = keysId.every(key => item.standId.toUpperCase().includes(key));
|
||||
}
|
||||
if (productName) {
|
||||
matchName = item.productName === productName;
|
||||
}
|
||||
if (responsibleUnit) {
|
||||
matchUnit = item.responsibleUnit === responsibleUnit;
|
||||
}
|
||||
return matchId && matchName && matchUnit;
|
||||
})
|
||||
this.dataList = this.realList
|
||||
},
|
||||
// 清空 查询条件
|
||||
clearAllSearch (search = true) {
|
||||
this.nonSearch = {
|
||||
standId: '',
|
||||
productName: '',
|
||||
responsibleUnit: ''
|
||||
}
|
||||
this.getTableByPage()
|
||||
},
|
||||
// 分页事件
|
||||
pageChange (page) {
|
||||
this.pageNo = page
|
||||
this.getTableByPage()
|
||||
},
|
||||
pageSizeChange () {
|
||||
this.getTableByPage()
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
@import '~@/assets/styles/phone';
|
||||
.phoneWfhxStep3 {
|
||||
.prc-content-border {
|
||||
overflow: auto;
|
||||
}
|
||||
/deep/.prc-content-border .el-form-item__content {
|
||||
width: 270px;
|
||||
}
|
||||
.headerTabs {
|
||||
height: 52px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
top: 52px;
|
||||
right: 10px;
|
||||
.headerTabsItem {
|
||||
border: 1px solid #c1c1c1;
|
||||
padding: 0 5px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.active {
|
||||
border: 1px solid #E6A23C;
|
||||
color: #fff;
|
||||
background: #E6A23C;
|
||||
}
|
||||
}
|
||||
.content {
|
||||
border-top: 1px solid #DCDFE6;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
margin-top: 52px;
|
||||
height: calc(~'100% - 155px');
|
||||
overflow: auto;
|
||||
.tableTitle {
|
||||
margin-bottom: 10px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
position: relative;
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
.tableButton {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
/deep/.el-upload{
|
||||
display: block;
|
||||
}
|
||||
// 上传信息回显多余隐藏
|
||||
/deep/.el-upload-list__item .el-icon-close {
|
||||
font-size: 0;
|
||||
}
|
||||
/deep/.el-upload-list__item .el-icon-close-tip {
|
||||
font-size: 0;
|
||||
}
|
||||
.content-center {
|
||||
padding: 10px 0px 10px 10px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="phoneWfhxStep5 phoneBox">
|
||||
<ProcessHeaderPhone toggle>
|
||||
<template slot="proName">标准解读流程</template>
|
||||
<template slot="proName">未符合项整改流程</template>
|
||||
<template slot="proNode">分发负责人审核材料</template>
|
||||
</ProcessHeaderPhone>
|
||||
<div class="headerTabs">
|
||||
@@ -99,7 +99,7 @@
|
||||
sortable="custom"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format("YYYY-MM-DD") : "" }}</span>
|
||||
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format("YYYY-MM-DD HH:mm:ss") : "" }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -107,7 +107,7 @@
|
||||
label="完成时间"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format("YYYY-MM-DD") : "" }}</span>
|
||||
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format("YYYY-MM-DD HH:mm:ss") : "" }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
|
||||
+25
-15
@@ -931,7 +931,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step1.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -940,7 +940,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step2.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -949,7 +949,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step3.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibraryC3',
|
||||
@@ -957,7 +957,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary4',
|
||||
@@ -965,7 +965,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step4.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary5',
|
||||
@@ -973,7 +973,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step5.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary6',
|
||||
@@ -981,7 +981,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step6.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibraryC6',
|
||||
@@ -989,7 +989,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/stepC6.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary7',
|
||||
@@ -997,7 +997,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step7.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary8',
|
||||
@@ -1005,7 +1005,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step8.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary9',
|
||||
@@ -1013,7 +1013,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step9.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary10',
|
||||
@@ -1021,7 +1021,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step10.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary11',
|
||||
@@ -1029,7 +1029,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step11.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary12',
|
||||
@@ -1037,7 +1037,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step12.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibraryDetail',
|
||||
@@ -1045,7 +1045,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/stepDetail.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -2161,6 +2161,16 @@ const routes = [
|
||||
title: '外部署名推荐审批流程'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/phoneWfhxStep3',
|
||||
name: 'phoneWfhxStep3',
|
||||
component: () => import('@/pages/processCenter/pages/phone/wfhxzg/step3.vue'),
|
||||
meta: {
|
||||
isBoolean: true,
|
||||
requireAuth: true,
|
||||
title: '未符合项整改流程'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/phoneWfhxStep5',
|
||||
name: 'phoneWfhxStep5',
|
||||
|
||||
Reference in New Issue
Block a user