Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -415,6 +415,14 @@ export function isEnd (data) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function get_verify_by_instance (data) {
|
||||||
|
return axios({
|
||||||
|
url: '/api/lawss/activiti/get_verify_by_instance',
|
||||||
|
method: 'get',
|
||||||
|
params: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// 流程委托接口
|
// 流程委托接口
|
||||||
export function changeAssigneeNew (data) {
|
export function changeAssigneeNew (data) {
|
||||||
return axios({
|
return axios({
|
||||||
|
|||||||
+62
-1
@@ -4,7 +4,6 @@ require('es6-promise').polyfill();
|
|||||||
require('es6-promise/auto');
|
require('es6-promise/auto');
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import App from './App'
|
import App from './App'
|
||||||
import router from './router'
|
|
||||||
import ElementUI from 'element-ui'
|
import ElementUI from 'element-ui'
|
||||||
import 'element-ui/lib/theme-chalk/index.css'
|
import 'element-ui/lib/theme-chalk/index.css'
|
||||||
// jQuery
|
// jQuery
|
||||||
@@ -42,6 +41,68 @@ import Contextmenu from 'vue-contextmenujs'
|
|||||||
|
|
||||||
import animate from 'animate.css'
|
import animate from 'animate.css'
|
||||||
|
|
||||||
|
// 引入路由器
|
||||||
|
import router from './router'
|
||||||
|
// 路由解析器
|
||||||
|
import Re from 'path-to-regexp'
|
||||||
|
|
||||||
|
import { get_verify_by_instance } from 'api/process'
|
||||||
|
|
||||||
|
|
||||||
|
// 路由拦截
|
||||||
|
router.beforeEach(function (to, from, next) {
|
||||||
|
let path = to.path;
|
||||||
|
console.log("auth : to =>", to);
|
||||||
|
console.log("auth : path =>" + path);
|
||||||
|
let taskId = to.query.taskIds;
|
||||||
|
let prcId = to.query.prcId;
|
||||||
|
let prcNum = to.query.prcNum;
|
||||||
|
let prcName = to.query.prcName;
|
||||||
|
let prcType = to.query.prcType;
|
||||||
|
if(taskId !== undefined && taskId !== null && prcId !== undefined && prcId !== null){
|
||||||
|
get_verify_by_instance({
|
||||||
|
taskId: taskId, // 任务id
|
||||||
|
pId: prcId // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if(res && res > 0){
|
||||||
|
let param = "?taskIds="+taskId+"&prcId="+prcId
|
||||||
|
+"&prcNum="+prcNum+"&prcName="+prcName+"&prcType="+prcType;
|
||||||
|
// 根据type判断跳转具体流程页面
|
||||||
|
if (prcType === '1') {
|
||||||
|
// 标准入库流程数据
|
||||||
|
next({path:"bzrkStep5"+param})
|
||||||
|
}else if(prcType === '4'){
|
||||||
|
//标准清单发布流程数据
|
||||||
|
next({path:"bzqdfbStep1-4"+param})
|
||||||
|
}else if (prcType === '5'){
|
||||||
|
//标准项目合规评估 标准维度
|
||||||
|
next({path:"xmpgStep1-2"+param})
|
||||||
|
}else if(prcType === '6'){
|
||||||
|
//标准项目合规评估 项目维度
|
||||||
|
next({path:"xmpg2Step1-2"+param})
|
||||||
|
} else if (prcType === '8') {
|
||||||
|
// 未符合项整改
|
||||||
|
next({path:"wfhxzgStep5-1"+param})
|
||||||
|
} else if(prcType === '9'){
|
||||||
|
next({path:"bzjdStep1-6"+param})
|
||||||
|
//标准调研流程
|
||||||
|
}else if(prcType === '2'){
|
||||||
|
next({path:"bzdyStep1-9"+param})
|
||||||
|
}else if(prcType === '3'){
|
||||||
|
//标准征求意见
|
||||||
|
next({path:"bzzqyjStep1-9"+param})
|
||||||
|
}else if(prcType === '10'){
|
||||||
|
//项目清单确认
|
||||||
|
next({path:"xmqdqrStep1-2"+param})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
console.log("res : res =>", res);
|
||||||
|
})
|
||||||
|
}
|
||||||
|
next()
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
// jquery
|
// jquery
|
||||||
Vue.prototype.$ = $
|
Vue.prototype.$ = $
|
||||||
|
|||||||
+1
@@ -4157,6 +4157,7 @@ export default {
|
|||||||
.el-card{
|
.el-card{
|
||||||
min-width: min-content;
|
min-width: min-content;
|
||||||
}
|
}
|
||||||
|
height: 95%;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|||||||
@@ -4736,7 +4736,7 @@ export default {
|
|||||||
.el-card {
|
.el-card {
|
||||||
min-width: min-content;
|
min-width: min-content;
|
||||||
}
|
}
|
||||||
|
height: 95%;
|
||||||
width: calc(~'100% - 15px');
|
width: calc(~'100% - 15px');
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user