入会流程
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<div class="content_form">
|
<div class="content_form">
|
||||||
<el-form class="label-input-form" ref="rh_pageData" :model="rh_pageData" label-width="150px">
|
<el-form class="label-input-form" ref="rh_pageData" :model="rh_pageData" :rules="rh_rules" label-width="150px">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item class="add-form-item" label="协会名称:">
|
<el-form-item class="add-form-item" label="协会名称:">
|
||||||
@@ -153,7 +153,7 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item class="add-form-item" label="参与人部门领导:">
|
<el-form-item class="add-form-item" prop="fillLeader" label="参与人部门领导:">
|
||||||
<el-input
|
<el-input
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
readonly
|
readonly
|
||||||
@@ -325,6 +325,13 @@ export default {
|
|||||||
fillLeaderId: '',
|
fillLeaderId: '',
|
||||||
fillFile: '',
|
fillFile: '',
|
||||||
},
|
},
|
||||||
|
rh_rules: {
|
||||||
|
fillLeader: [
|
||||||
|
{required: true, message: "请选择参与人部门领导", trigger: 'blur'},
|
||||||
|
{ trigger: 'change' }
|
||||||
|
]
|
||||||
|
|
||||||
|
},
|
||||||
roleForm: {},
|
roleForm: {},
|
||||||
unqualidiedData: [],
|
unqualidiedData: [],
|
||||||
roleShowflag: false,
|
roleShowflag: false,
|
||||||
|
|||||||
@@ -0,0 +1,507 @@
|
|||||||
|
<template>
|
||||||
|
<div class="bzrhStep6">
|
||||||
|
<ProcessHeader toggle>
|
||||||
|
<template slot="proName">外部标准化协会入会流程</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 style="flex: auto; overflow: auto;">
|
||||||
|
<ProcessTitle>
|
||||||
|
<template slot="title">基础信息</template>
|
||||||
|
</ProcessTitle>
|
||||||
|
<div class="content_form">
|
||||||
|
<el-form class="label-input-form" ref="rh_pageData" :model="rh_pageData" label-width="150px" :rules="rh_rules">
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="协会名称:">
|
||||||
|
{{ rh_pageData.comityName || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="协会状态:" prop="comityState">
|
||||||
|
{{ rh_pageData.comityState || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="入会性质:" prop="comityKind">
|
||||||
|
{{ rh_pageData.comityKind || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="资质:">
|
||||||
|
{{ rh_pageData.comityMake.makeQualification || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="成员:">
|
||||||
|
{{ rh_pageData.comityMake.makeRole || '' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="费用估计:">
|
||||||
|
{{ rh_pageData.comityMake.makeCost || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="职责:">
|
||||||
|
{{ rh_pageData.comityMake.makeDuties || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="任期:">
|
||||||
|
{{ rh_pageData.comityMake.makeTime || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item class="add-form-item" label="信息来源:" prop="infoSources">
|
||||||
|
<span v-if="infoSourcesLength < 1">{{ '-' }}</span>
|
||||||
|
<span v-for="item in rh_pageData.infoSources" :key="item.id" style="color: #409EFF;" @click="previews(item.id)">
|
||||||
|
{{ item.name }} {{ ';'}}
|
||||||
|
</span>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-form-item class="add-form-item" label="工作方向:" prop="workPath">
|
||||||
|
<el-input v-model="rh_pageData.workPath" readonly type="textarea" style="width: 50%;height: auto"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item class="add-form-item" label="协会外部联系方式:" style="margin-top: 10px">
|
||||||
|
<el-table
|
||||||
|
:data="rh_pageData.comityTel"
|
||||||
|
border
|
||||||
|
ref="entryTable"
|
||||||
|
height="49%"
|
||||||
|
style="width: 100%"
|
||||||
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '20px'}">
|
||||||
|
<el-table-column type="selection" width="55"></el-table-column>
|
||||||
|
<el-table-column prop="tel_name" align="center" label="联络人"/>
|
||||||
|
<el-table-column prop="tel_unit" align="center" label="单位"/>
|
||||||
|
<el-table-column prop="tel_phone" align="center" label="电话"/>
|
||||||
|
<el-table-column prop="tel_mail" align="center" label="邮箱"/>
|
||||||
|
</el-table>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item class="add-form-item" label="我司参与人员:" style="margin-top: 10px">
|
||||||
|
<el-table
|
||||||
|
:data="rh_pageData.myPartRole"
|
||||||
|
border
|
||||||
|
ref="entryTable"
|
||||||
|
@selection-change="selectedDelete"
|
||||||
|
height="49%"
|
||||||
|
style="width: 100%"
|
||||||
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '20px'}">
|
||||||
|
<el-table-column type="selection" width="55"/>
|
||||||
|
<el-table-column prop="fillPeople" align="center" label="参与人"/>
|
||||||
|
<el-table-column prop="fillUnit" align="center" label="单位"/>
|
||||||
|
<el-table-column prop="fillDept" align="center" label="部门"/>
|
||||||
|
<el-table-column prop="fillPost" align="center" label="身份"/>
|
||||||
|
<el-table-column prop="fillTel" align="center" label="电话"/>
|
||||||
|
<el-table-column prop="fillMail" align="center" label="邮箱"/>
|
||||||
|
<el-table-column prop="fillFile" align="center" label="资料"/>
|
||||||
|
</el-table>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item :title="textTitle">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
:placeholder="textHolder"
|
||||||
|
v-model="textarea">
|
||||||
|
</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") : "" }}</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") : "" }}</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>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
|
import {
|
||||||
|
completeTask,
|
||||||
|
inboundLiaisonDetail,
|
||||||
|
saveinboundTask,
|
||||||
|
saveTaskForPub,
|
||||||
|
changeAssigneeNew
|
||||||
|
} from "@/api/process.js"
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
ProcessHeader,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
name: "bzrhStep6-1",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
active: '1', // 默认显示
|
||||||
|
rh_rules: {},
|
||||||
|
rh_pageData: {
|
||||||
|
comityFileNum: '',
|
||||||
|
comityFileName: '',
|
||||||
|
comityName: '',
|
||||||
|
comityRole: '',
|
||||||
|
comityState: '',
|
||||||
|
comityKind: '',
|
||||||
|
InfoSources: '',
|
||||||
|
comityMake: {
|
||||||
|
makeQualification: '',
|
||||||
|
makeRole: '',
|
||||||
|
makeCost: '',
|
||||||
|
makeDuties: '',
|
||||||
|
makeTime: '',
|
||||||
|
},
|
||||||
|
workPath: '',
|
||||||
|
comityTel: [],
|
||||||
|
fillPeople: '',
|
||||||
|
fillUnit: '',
|
||||||
|
fillDept: '',
|
||||||
|
fillPost: '',
|
||||||
|
fillTel: '',
|
||||||
|
fillMail: '',
|
||||||
|
fillLeader: '',
|
||||||
|
fillFile: '',
|
||||||
|
myPartRole: [],
|
||||||
|
},
|
||||||
|
|
||||||
|
detailData: [],
|
||||||
|
loading: false,
|
||||||
|
|
||||||
|
roleForm: {},
|
||||||
|
textarea: '',
|
||||||
|
isSubmit: false,
|
||||||
|
isBack: false,
|
||||||
|
saveLoading: false,
|
||||||
|
taskInfo: this.$route.query.taskInfo,
|
||||||
|
taskIds: this.$route.query.taskIds,
|
||||||
|
pId: this.$route.query.prcId,
|
||||||
|
|
||||||
|
infoSourcesLength: '',
|
||||||
|
|
||||||
|
textTitle: '审批意见',
|
||||||
|
textHolder: '请输入审批意见'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
listNoDataText() {
|
||||||
|
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.processTable()
|
||||||
|
this.getData()
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
// 右上标签页面切换
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
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() {
|
||||||
|
if (this.taskInfo === '标准法规工程师汇总修订完毕') {
|
||||||
|
this.textTitle = '回执说明'
|
||||||
|
this.textHolder = '请输入回执说明'
|
||||||
|
}
|
||||||
|
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(() => {
|
||||||
|
this.rh_pageData = JSON.parse(JSON.stringify(item)).rh_pageData
|
||||||
|
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
|
||||||
|
this.infoSourcesLength = this.rh_pageData.infoSources.length
|
||||||
|
this.textarea = JSON.parse(JSON.stringify(item)).commentText
|
||||||
|
// this.rh_pageData.comityFileNum = this.fileTextList
|
||||||
|
})
|
||||||
|
},
|
||||||
|
/** 点击对应附件进行下载*/
|
||||||
|
previews(val) {
|
||||||
|
let attId = val
|
||||||
|
if (attId != null && attId !== "") {
|
||||||
|
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
selectedDelete(val) {
|
||||||
|
this.deleteDataList = val
|
||||||
|
},
|
||||||
|
// 退回按钮
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.textarea === '') {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
} else {
|
||||||
|
let json = {
|
||||||
|
passFlag: '0',
|
||||||
|
rh_pageData: this.rh_pageData,
|
||||||
|
roleList: this.roleForm
|
||||||
|
}
|
||||||
|
if (this.taskInfo === '标准法规部主管领导审核') {
|
||||||
|
json.manageDepartmentList = this.roleForm.feeUserId
|
||||||
|
} else if (this.taskInfo === '费用管理部门会签') {
|
||||||
|
json.manageDepartment = this.$store.getters.userInfo.userId
|
||||||
|
json.president = this.roleForm.engineerUserId
|
||||||
|
} else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') {
|
||||||
|
json.engineerSumDone = this.roleForm.startUser
|
||||||
|
} else {
|
||||||
|
json = {
|
||||||
|
rh_pageData: this.rh_pageData,
|
||||||
|
roleList: this.roleForm
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.$refs['rh_pageData'].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.isBack = true
|
||||||
|
const params = new FormData();
|
||||||
|
params.set('json', JSON.stringify(json))
|
||||||
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
|
params.set('taskId', this.taskIds)
|
||||||
|
completeTask(params).then(res => {
|
||||||
|
if (res.success === true) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isBack = false
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
// 提交按钮
|
||||||
|
handleSubmit() {
|
||||||
|
if (this.textarea === '') {
|
||||||
|
if (this.taskInfo === '标准法规工程师汇总修订完毕') {
|
||||||
|
this.$message.warning('请输入回执说明')
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
let json = {
|
||||||
|
passFlag: '1',
|
||||||
|
rh_pageData: this.rh_pageData,
|
||||||
|
commentText: this.textarea,
|
||||||
|
roleList: this.roleForm
|
||||||
|
}
|
||||||
|
if (this.taskInfo === '标准法规部主管领导审核') {
|
||||||
|
json.manageDepartmentList = this.roleForm.feeUserId
|
||||||
|
} else if (this.taskInfo === '费用管理部门会签') {
|
||||||
|
json.manageDepartment = this.$store.getters.userInfo.userId
|
||||||
|
json.president = this.roleForm.engineerUserId
|
||||||
|
} else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') {
|
||||||
|
json.engineerSumDone = this.roleForm.startUser
|
||||||
|
} else {
|
||||||
|
json = {
|
||||||
|
rh_pageData: this.rh_pageData,
|
||||||
|
roleList: this.roleForm
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.$refs['rh_pageData'].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.isSubmit = true
|
||||||
|
const params = new FormData();
|
||||||
|
params.set('json', JSON.stringify(json))
|
||||||
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
|
params.set('taskId', this.taskIds)
|
||||||
|
completeTask(params).then(res => {
|
||||||
|
if (res.success === true) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
|
.bzrhStep6 {
|
||||||
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
/deep/ .el-drawer__container {
|
||||||
|
.prc-content-border {
|
||||||
|
border: none;
|
||||||
|
padding: 0 20px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerTabs {
|
||||||
|
height: 52px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
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-center {
|
||||||
|
padding: 10px 0px 10px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: calc(~'100% - 103px');
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.content_form {
|
||||||
|
padding: 15px;
|
||||||
|
|
||||||
|
.comityTel_btn {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .el-table th {
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .el-table__body-wrapper {
|
||||||
|
height: auto !important;
|
||||||
|
}
|
||||||
|
.myPart_btn {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,482 @@
|
|||||||
|
<template>
|
||||||
|
<div class="bzchStep6">
|
||||||
|
<ProcessHeader toggle>
|
||||||
|
<template slot="proName">外部标准化协会参会流程</template>
|
||||||
|
<template v-if="taskInfo === '技术管理中心主任审批'" slot="proNode">审批</template>
|
||||||
|
<template v-else-if="taskInfo === '费用管理部门会签'" slot="proNode">会签</template>
|
||||||
|
<template v-else-if="taskInfo === '技术委员会常务副主任/总院院长审定'" slot="proNode">审定</template>
|
||||||
|
<template v-else 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 style="flex: auto; overflow: auto;">
|
||||||
|
<ProcessTitle>
|
||||||
|
<template slot="title">基础信息</template>
|
||||||
|
</ProcessTitle>
|
||||||
|
<div class="content_form">
|
||||||
|
<el-form class="label-input-form" ref="ch_pageData" :model="ch_pageData" :rules="ch_rules" label-width="120px">
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="会议名称:">
|
||||||
|
{{ ch_pageData.meetingName || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="主办单位:">
|
||||||
|
{{ ch_pageData.primaryUnit || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="协会名称:">
|
||||||
|
{{ ch_pageData.associaName || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="会议时间:">
|
||||||
|
{{ ch_pageData.meetingStartTime || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="会议地点:">
|
||||||
|
{{ ch_pageData.meetingPlace || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="费用标准:">
|
||||||
|
{{ ch_pageData.feeStand || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="费用列支:">
|
||||||
|
{{ ch_pageData.feeKind || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="上传附件:" prop="uploadFile">
|
||||||
|
<el-upload
|
||||||
|
action=""
|
||||||
|
name="file"
|
||||||
|
:file-list="ch_pageData.fileTextList"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="8">
|
||||||
|
<el-form-item class="add-form-item" label="类别:">
|
||||||
|
{{ ch_pageData.sort || '-' }}
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-form-item class="add-form-item" label="议题:">
|
||||||
|
<el-table
|
||||||
|
class="meeting_table"
|
||||||
|
:data="ch_pageData.meetingTable"
|
||||||
|
border
|
||||||
|
ref="entryTable"
|
||||||
|
height="49%"
|
||||||
|
style="width: 100%"
|
||||||
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '20px'}">
|
||||||
|
<el-table-column type="index" width="50" align="center"/>
|
||||||
|
<el-table-column label="议题" align="center" prop="meetingTheme"/>
|
||||||
|
</el-table>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item class="add-form-item" label="入会人员:">
|
||||||
|
<el-table
|
||||||
|
:data="ch_pageData.myPartRole"
|
||||||
|
border
|
||||||
|
ref="entryTable"
|
||||||
|
height="49%"
|
||||||
|
style="width: 100%"
|
||||||
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '20px'}">
|
||||||
|
<el-table-column type="index" width="50" align="center"/>
|
||||||
|
<el-table-column prop="fillPeople" align="center" label="人员"/>
|
||||||
|
<el-table-column prop="fillUnit" align="center" label="单位"/>
|
||||||
|
<el-table-column prop="fillDept" align="center" label="部门"/>
|
||||||
|
<el-table-column prop="fillTel" align="center" label="电话"/>
|
||||||
|
<el-table-column prop="fillMail" align="center" label="邮箱"/>
|
||||||
|
</el-table>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</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") : "" }}</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") : "" }}</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
|
||||||
|
v-if="taskInfo !== '标准法规工程师修订完毕'"
|
||||||
|
show-submit
|
||||||
|
show-back
|
||||||
|
:isSubmitBack="isBack"
|
||||||
|
:submitLoading="isSubmit"
|
||||||
|
@back="handleSubmitNo"
|
||||||
|
@submit="handleSubmit"
|
||||||
|
/>
|
||||||
|
<ProcessFooter
|
||||||
|
v-else
|
||||||
|
show-submit
|
||||||
|
:submitLoading="isSubmit"
|
||||||
|
@submit="handleSubmit"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
|
import { startProcess, saveTaskFirst,completeTask, inboundLiaisonDetail } from '@/api/process.js'
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
ProcessHeader,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
name: "bzchStep6-1",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
active: '1',
|
||||||
|
|
||||||
|
ch_pageData: {
|
||||||
|
myPartRole: [],
|
||||||
|
},
|
||||||
|
ch_rules: {},
|
||||||
|
textarea: '',
|
||||||
|
|
||||||
|
isBack: false,
|
||||||
|
isSubmit: false,
|
||||||
|
saveLoading: false,
|
||||||
|
|
||||||
|
deleteDataList: [],
|
||||||
|
detailData: [],
|
||||||
|
loading: false,
|
||||||
|
|
||||||
|
taskInfo: this.$route.query.taskInfo,
|
||||||
|
taskIds: this.$route.query.taskIds,
|
||||||
|
pId: this.$route.query.prcId,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
listNoDataText() {
|
||||||
|
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.processTable()
|
||||||
|
this.getData()
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
// 右上标签页面切换
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
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(() => {
|
||||||
|
this.ch_pageData = JSON.parse(JSON.stringify(item)).ch_pageData
|
||||||
|
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
|
||||||
|
// this.ch_pageData.comityFileNum = this.fileTextList
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
/** 批量删除 */
|
||||||
|
del_paryForm() {
|
||||||
|
if (this.deleteDataList.length < 1) {
|
||||||
|
this.$message.warning("请选择一条数据进行删除");
|
||||||
|
} else {
|
||||||
|
this.$confirm("您确认删除这些数据?", "提示", {
|
||||||
|
confirmButtonText: "确认",
|
||||||
|
confirmButtonClass: "common-button-primary",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "warning"
|
||||||
|
}).then(() => {
|
||||||
|
let exits = [];
|
||||||
|
this.deleteDataList.map(item => {
|
||||||
|
let index;
|
||||||
|
index = this.ch_pageData.myPartRole.findIndex(items => {
|
||||||
|
return items.id === item;
|
||||||
|
});
|
||||||
|
if (index > -1) {
|
||||||
|
this.ch_pageData.myPartRole.splice(index, 1);
|
||||||
|
}
|
||||||
|
exits.push(item);
|
||||||
|
});
|
||||||
|
this.deleteDataList = [];
|
||||||
|
}).catch(() => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
selectedDelete(val) {
|
||||||
|
this.deleteDataList = val
|
||||||
|
},
|
||||||
|
// 退回按钮
|
||||||
|
handleSubmitNo() {
|
||||||
|
let json = {
|
||||||
|
passFlag: '0',
|
||||||
|
ch_pageData: this.ch_pageData,
|
||||||
|
roleList: this.roleForm
|
||||||
|
}
|
||||||
|
if (this.taskInfo === '技术管理中心主任审批') {
|
||||||
|
json.manageDepartmentList = this.roleForm.feeUserId
|
||||||
|
} else if (this.taskInfo === '费用管理部门会签') {
|
||||||
|
json.manageDepartment = this.$store.getters.userInfo.userId
|
||||||
|
json.president = this.roleForm.engineerUserId
|
||||||
|
} else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') {
|
||||||
|
json.engineerSumDone = this.roleForm.startUser
|
||||||
|
} else {
|
||||||
|
json = {
|
||||||
|
ch_pageData: this.ch_pageData,
|
||||||
|
roleList: this.roleForm
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.$refs['ch_pageData'].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.isBack = true
|
||||||
|
const params = new FormData();
|
||||||
|
params.set('json', JSON.stringify(json))
|
||||||
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
|
params.set('taskId', this.taskIds)
|
||||||
|
completeTask(params).then(res => {
|
||||||
|
if (res.success === true) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isBack = false
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 提交按钮
|
||||||
|
handleSubmit() {
|
||||||
|
let json = {
|
||||||
|
passFlag: '1',
|
||||||
|
ch_pageData: this.ch_pageData,
|
||||||
|
roleList: this.roleForm
|
||||||
|
}
|
||||||
|
if (this.taskInfo === '技术管理中心主任审批') {
|
||||||
|
json.manageDepartmentList = this.roleForm.feeUserId
|
||||||
|
} else if (this.taskInfo === '费用管理部门会签') {
|
||||||
|
json.manageDepartment = this.$store.getters.userInfo.userId
|
||||||
|
json.president = this.roleForm.engineerUserId
|
||||||
|
} else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') {
|
||||||
|
json.engineerSumDone = this.roleForm.startUser
|
||||||
|
} else {
|
||||||
|
json = {
|
||||||
|
ch_pageData: this.ch_pageData,
|
||||||
|
roleList: this.roleForm
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.$refs['ch_pageData'].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.isSubmit = true
|
||||||
|
const params = new FormData();
|
||||||
|
params.set('json', JSON.stringify(json))
|
||||||
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
|
params.set('taskId', this.taskIds)
|
||||||
|
completeTask(params).then(res => {
|
||||||
|
if (res.success === true) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import '~@/assets/styles/style';
|
||||||
|
.bzchStep6 {
|
||||||
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
/deep/.el-drawer__container {
|
||||||
|
.prc-content-border {
|
||||||
|
border: none;
|
||||||
|
padding: 0 20px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.headerTabs {
|
||||||
|
height: 52px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
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-center {
|
||||||
|
padding: 10px 0px 10px 10px;
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: calc(~'100% - 103px');
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.content_form {
|
||||||
|
padding-top: 15px;
|
||||||
|
padding-left: 30px;
|
||||||
|
.el-divider--horizontal {
|
||||||
|
margin-top: 0px;
|
||||||
|
}
|
||||||
|
/deep/.el-table__body-wrapper {
|
||||||
|
height: auto!important;
|
||||||
|
}
|
||||||
|
/deep/.el-textarea__inner {
|
||||||
|
font-family: inherit;
|
||||||
|
}
|
||||||
|
.meeting_table {
|
||||||
|
/deep/ .el-input__inner {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/deep/.el-upload {
|
||||||
|
display: unset;
|
||||||
|
}
|
||||||
|
/deep/.el-upload-list__item-status-label {
|
||||||
|
font-size: 0;
|
||||||
|
}
|
||||||
|
/deep/.el-upload-list__item {
|
||||||
|
.el-icon-close {
|
||||||
|
font-size: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-icon-close-tip {
|
||||||
|
font-size: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/deep/.el-table th {
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
@@ -258,6 +258,12 @@ export default {
|
|||||||
}else if(prcType === '10'){
|
}else if(prcType === '10'){
|
||||||
//项目清单确认
|
//项目清单确认
|
||||||
this.toProcessDetail('xmqdqrStep1-3',row)
|
this.toProcessDetail('xmqdqrStep1-3',row)
|
||||||
|
} else if(prcType === '20') {
|
||||||
|
// 入会流程
|
||||||
|
this.toProcessDetail('bzrhStep6-1',row)
|
||||||
|
} else if(prcType === '21') {
|
||||||
|
// 参会流程
|
||||||
|
this.toProcessDetail('bzchStep6-1',row)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('当前流程未全部办理完成,无法查看')
|
this.$message.warning('当前流程未全部办理完成,无法查看')
|
||||||
|
|||||||
@@ -1631,6 +1631,15 @@ const routes = [
|
|||||||
title: '外部标准化协会入会流程(审批)'
|
title: '外部标准化协会入会流程(审批)'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/bzrhStep6-1',
|
||||||
|
name: 'bzrhStep6-1',
|
||||||
|
component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step6-1.vue'),
|
||||||
|
meta: {
|
||||||
|
requireAuth: true,
|
||||||
|
title: '外部标准化协会入会流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
// 外部标准化协会参会流程
|
// 外部标准化协会参会流程
|
||||||
{
|
{
|
||||||
@@ -1687,6 +1696,15 @@ const routes = [
|
|||||||
title: '外部标准化协会参会流程(审定)'
|
title: '外部标准化协会参会流程(审定)'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/bzchStep6-1',
|
||||||
|
name: 'bzchStep6-1',
|
||||||
|
component: () => import('@/pages/processCenter/pages/creatProcess/bzhHy-ch/step6-1.vue'),
|
||||||
|
meta: {
|
||||||
|
requireAuth: true,
|
||||||
|
title: '外部标准化协会参会流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/bzhhStep1',
|
path: '/bzhhStep1',
|
||||||
name: 'bzhhStep1',
|
name: 'bzhhStep1',
|
||||||
|
|||||||
Reference in New Issue
Block a user