解开流程管理的注释
This commit is contained in:
@@ -423,16 +423,16 @@
|
||||
// path: '/DynamicInformations',
|
||||
// menuId: '3C87BSHJUF'
|
||||
// },
|
||||
// // {
|
||||
// // title: '流程分类管理',
|
||||
// // path: '/processClassificationManage',
|
||||
// // menuId: 'N323F2UB9FTUV5SD3GTD'
|
||||
// // },
|
||||
// // {
|
||||
// // title: '流程管理',
|
||||
// // path: '/processManage',
|
||||
// // menuId: 'K5KXSS3X9CF7CS8AMFJ5'
|
||||
// // },
|
||||
{
|
||||
title: '流程分类管理',
|
||||
path: '/processClassificationManage',
|
||||
// menuId: 'N323F2UB9FTUV5SD3GTD'
|
||||
},
|
||||
{
|
||||
title: '流程管理',
|
||||
path: '/processManage',
|
||||
// menuId: 'K5KXSS3X9CF7CS8AMFJ5'
|
||||
},
|
||||
// {
|
||||
// title: 'SVPPS',
|
||||
// path: '/svpps',
|
||||
|
||||
@@ -34,15 +34,15 @@
|
||||
<!--</table-tools-bar>-->
|
||||
|
||||
<div class="content">
|
||||
<!--<div class="action-bar">-->
|
||||
<!-- <el-button-->
|
||||
<!-- type="primary"-->
|
||||
<!-- class="common-button-primary add-button"-->
|
||||
<!-- round-->
|
||||
<!-- @click="addRow"-->
|
||||
<!-- v-btn-permission="'XBRKH5BP5K'"-->
|
||||
<!-- ><i class="el-icon-plus"></i>新增</el-button>-->
|
||||
<!--</div>-->
|
||||
<div class="action-bar">
|
||||
<!-- v-btn-permission="'XBRKH5BP5K'"-->
|
||||
<el-button
|
||||
type="primary"
|
||||
class="common-button-primary add-button"
|
||||
round
|
||||
@click="addRow"
|
||||
><i class="el-icon-plus"></i>新增</el-button>
|
||||
</div>
|
||||
<loading :loading="tableDataLoading">{{$t('m.dataProcessing')}}</loading>
|
||||
<el-table
|
||||
border
|
||||
|
||||
@@ -35,12 +35,12 @@
|
||||
|
||||
<div class="content">
|
||||
<div class="action-bar">
|
||||
<!-- v-btn-permission="'XBRKH5BP5K'"-->
|
||||
<el-button
|
||||
type="primary"
|
||||
class="common-button-primary add-button"
|
||||
round
|
||||
@click="addRow"
|
||||
v-btn-permission="'XBRKH5BP5K'"
|
||||
><i class="el-icon-plus"></i>新增</el-button>
|
||||
</div>
|
||||
<loading :loading="tableDataLoading">{{$t('m.dataProcessing')}}</loading>
|
||||
|
||||
@@ -146,17 +146,19 @@
|
||||
<personnelInformation ref="personnelInformationRef"/>
|
||||
</div>
|
||||
<div class="content" style="padding-top: 20px" v-show="active === '3'">
|
||||
<approvalHistory />
|
||||
<approvalHistory/>
|
||||
</div>
|
||||
<ProcessFooter show-save
|
||||
show-submit
|
||||
<ProcessFooter show-submit
|
||||
:show-save="showSave"
|
||||
:submitLoading="isSubmit"
|
||||
:saveLoading="saveLoading"
|
||||
:show-transfer="showTransfer"
|
||||
@save="handleSave"
|
||||
@transfer="handleTransfer"
|
||||
@submit="handleSubmit"
|
||||
>
|
||||
</ProcessFooter>
|
||||
<el-dialog width='400px' :visible.sync="fileMadel" title="上传调研模板">
|
||||
<el-dialog width='400px' :visible.sync="fileMadel" title="上传模板">
|
||||
<el-upload
|
||||
v-if="fileMadel"
|
||||
multiple
|
||||
@@ -178,6 +180,12 @@
|
||||
</div>
|
||||
</el-upload>
|
||||
</el-dialog>
|
||||
<Role-tree
|
||||
check-box
|
||||
is-title="转办处理人"
|
||||
:is-visible.sync="drawerModal"
|
||||
@checkedRole="checkedRole"
|
||||
></Role-tree>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -188,7 +196,8 @@
|
||||
import approvalHistory from "./components/approvalHistory";
|
||||
import personnelInformation from "./components/personnelInformation";
|
||||
import solicitationList from "./components/solicitationList";
|
||||
import { queryTaskFirst, saveTaskFirst, taskDel } from "api/process";
|
||||
import {queryTaskFirst, saveTaskFirst, taskDel, changeAssigneeNew} from "api/process";
|
||||
import axios from "axios";
|
||||
|
||||
export default {
|
||||
name: "index",
|
||||
@@ -204,6 +213,7 @@
|
||||
return {
|
||||
active: '1',
|
||||
disabledXX: false,
|
||||
drawerModal: false,
|
||||
formRules: {
|
||||
lawsNumber: [
|
||||
{required: true, message: '请输入政策编号', trigger: 'change'},
|
||||
@@ -229,6 +239,14 @@
|
||||
commentText: '',
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
showSave() {
|
||||
return true
|
||||
},
|
||||
showTransfer() {
|
||||
return true
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
//基础信息/人员信息
|
||||
handleTabs(type) {
|
||||
@@ -391,6 +409,39 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
handleTransfer() {
|
||||
this.drawerModal = true
|
||||
},
|
||||
checkedRole(data) {
|
||||
changeAssigneeNew({
|
||||
taskId: this.$route.query.taskIds, // 任务id
|
||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||
assignee: data[0].id, // 被委托人
|
||||
pId: this.$route.query.prcId, // 流程实例
|
||||
}).then(res => {
|
||||
if (res.success) {
|
||||
this.drawerModal = false
|
||||
this.$message.success('调整成功')
|
||||
this.processNum()
|
||||
this.$router.push({path: '/processCenter?tabsName=ProcessCenter'})
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
})
|
||||
},
|
||||
// 请求转换流程图
|
||||
processNum (row) {
|
||||
axios.request({
|
||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||
responseType: 'blob',
|
||||
method: 'get',
|
||||
params: {
|
||||
prcNum: this.$route.query.prcNum
|
||||
}
|
||||
}).then(res => {
|
||||
this.processStep = window.URL.createObjectURL(res.data)
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user