【修改】权限申请流程修改页面
This commit is contained in:
@@ -12,7 +12,7 @@ export default {
|
|||||||
// 获取审批历史
|
// 获取审批历史
|
||||||
getHistory (data) {
|
getHistory (data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/lawss/activiti/get_list_by_instance',
|
url: '/api/get_list_by_instance',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: data
|
params: data
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -193,8 +193,11 @@ export default {
|
|||||||
},
|
},
|
||||||
handleSubmit () {
|
handleSubmit () {
|
||||||
if (this.$refs.operationRef.submit()) {
|
if (this.$refs.operationRef.submit()) {
|
||||||
// 通过了校验 需要整合参数
|
// 通过了校验 需要整合参数 拿到原来的dataJson 再把新添加的增进去 在拼成dataJson
|
||||||
console.log('斤斤计较')
|
let submit= JSON.parse(this.processOld.submitJson)
|
||||||
|
let dataJson= JSON.parse(this.processOld.dataJson)
|
||||||
|
let submitJson= {...data , ...this.$refs.operationRef.examineForm}
|
||||||
|
this.completeProcess(dataJson,submitJson)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,11 +7,16 @@
|
|||||||
{{ rowIndex + (q.current - 1) * q.size + 1 }}
|
{{ rowIndex + (q.current - 1) * q.size + 1 }}
|
||||||
</template>
|
</template>
|
||||||
</vxe-column>
|
</vxe-column>
|
||||||
<vxe-column show-overflow show-header-overflow field="prcNum"
|
<vxe-column show-overflow show-header-overflow field="prcType"
|
||||||
title="流程编号"></vxe-column>
|
title="流程类型">
|
||||||
|
<template #default="{ row,index }">
|
||||||
|
<div>{{getPrcName(row.prcType)}}</div>
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
|
||||||
<vxe-column show-overflow show-header-overflow field="prcName" title="流程名称">
|
<vxe-column show-overflow show-header-overflow field="prcName" title="流程名称">
|
||||||
<template #default="{ row,index }">
|
<template #default="{ row,index }">
|
||||||
<div>{{getPrcName(row.prcName)}}</div>
|
<div>{{row.prcName}}</div>
|
||||||
</template>
|
</template>
|
||||||
</vxe-column>
|
</vxe-column>
|
||||||
<vxe-column show-overflow show-header-overflow field="creatUser"
|
<vxe-column show-overflow show-header-overflow field="creatUser"
|
||||||
|
|||||||
@@ -8,10 +8,20 @@
|
|||||||
</template>
|
</template>
|
||||||
</vxe-column>
|
</vxe-column>
|
||||||
<vxe-column show-overflow show-header-overflow field="prcNum"
|
<vxe-column show-overflow show-header-overflow field="prcNum"
|
||||||
title="流程编号"></vxe-column>
|
title="流程编号">
|
||||||
<vxe-column show-overflow show-header-overflow field="prcName" title="流程名称">
|
<template #default="{ row,index }" >
|
||||||
|
<div @click.native.prevent="handle(row)">{{row.prcNum}}</div>
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
<vxe-column show-overflow show-header-overflow field="prcType"
|
||||||
|
title="流程类型">
|
||||||
<template #default="{ row,index }">
|
<template #default="{ row,index }">
|
||||||
<div>{{getPrcName(row.prcName)}}</div>
|
<div>{{getPrcName(row.prcType)}}</div>
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
<vxe-column show-overflow show-header-overflow field="prcName" title="流程名称">
|
||||||
|
<template #default="{ row,index }" >
|
||||||
|
<div @click.native.prevent="handle(row)">{{row.prcName}}</div>
|
||||||
</template>
|
</template>
|
||||||
</vxe-column>
|
</vxe-column>
|
||||||
<vxe-column show-overflow show-header-overflow field="creatUserName"
|
<vxe-column show-overflow show-header-overflow field="creatUserName"
|
||||||
@@ -19,7 +29,7 @@
|
|||||||
<vxe-column show-overflow show-header-overflow field="creatTime" title="创建时间"></vxe-column>
|
<vxe-column show-overflow show-header-overflow field="creatTime" title="创建时间"></vxe-column>
|
||||||
<vxe-column show-overflow show-header-overflow title="操作" width="200" fixed="right">
|
<vxe-column show-overflow show-header-overflow title="操作" width="200" fixed="right">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-button @click.native.prevent="handle(scope.$index, tableData)" type="text" size="small">
|
<el-button @click.native.prevent="handle(row)" type="text" size="small">
|
||||||
办理
|
办理
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
@@ -85,13 +95,26 @@ export default {
|
|||||||
this.q.current = val;
|
this.q.current = val;
|
||||||
this.loadData();
|
this.loadData();
|
||||||
},
|
},
|
||||||
handle(type) {
|
handle(row) {
|
||||||
switch (type) {
|
switch (row.prcType) {
|
||||||
case '1' :
|
case '1' :
|
||||||
this.$router.push({
|
if (row.taskDefinitionKey == 'aid3') {
|
||||||
path:'',
|
this.$router.push({
|
||||||
query:''
|
path: '/permission/launch',
|
||||||
})
|
query: {
|
||||||
|
id: 'AEHJB8YNJ3',
|
||||||
|
taskIds:row.taskIds
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
this.$router.push({
|
||||||
|
path: '/permission/examine',
|
||||||
|
query: {
|
||||||
|
id: 'AEHJB8YNJ3',
|
||||||
|
taskIds:row.taskIds
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,10 +8,20 @@
|
|||||||
</template>
|
</template>
|
||||||
</vxe-column>
|
</vxe-column>
|
||||||
<vxe-column show-overflow show-header-overflow field="prcNum"
|
<vxe-column show-overflow show-header-overflow field="prcNum"
|
||||||
title="流程编号"></vxe-column>
|
title="流程编号">
|
||||||
<vxe-column show-overflow show-header-overflow field="prcName" title="流程名称">
|
<template #default="{ row,index }" @click.native.prevent="view(row)">
|
||||||
|
<div>{{row.prcNum}}</div>
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
<vxe-column show-overflow show-header-overflow field="prcType"
|
||||||
|
title="流程类型">
|
||||||
<template #default="{ row,index }">
|
<template #default="{ row,index }">
|
||||||
<div>{{getPrcName(row.prcName)}}</div>
|
<div>{{getPrcName(row.prcType)}}</div>
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
<vxe-column show-overflow show-header-overflow field="prcName" title="流程名称">
|
||||||
|
<template #default="{ row,index }" @click.native.prevent="view(row)">
|
||||||
|
<div>{{row.prcName}}</div>
|
||||||
</template>
|
</template>
|
||||||
</vxe-column>
|
</vxe-column>
|
||||||
<vxe-column show-overflow show-header-overflow field="labelOneName"
|
<vxe-column show-overflow show-header-overflow field="labelOneName"
|
||||||
@@ -25,7 +35,7 @@
|
|||||||
<vxe-column show-overflow show-header-overflow field="status" title="状态"></vxe-column>
|
<vxe-column show-overflow show-header-overflow field="status" title="状态"></vxe-column>
|
||||||
<vxe-column show-overflow show-header-overflow title="操作" width="200" fixed="right">
|
<vxe-column show-overflow show-header-overflow title="操作" width="200" fixed="right">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-button @click.native.prevent="view(row, tableData)" type="text" size="small">
|
<el-button @click.native.prevent="view(row)" type="text" size="small">
|
||||||
查看
|
查看
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -9,10 +9,21 @@
|
|||||||
</template>
|
</template>
|
||||||
</vxe-column>
|
</vxe-column>
|
||||||
<vxe-column show-overflow show-header-overflow field="prcNum"
|
<vxe-column show-overflow show-header-overflow field="prcNum"
|
||||||
title="流程编号"></vxe-column>
|
title="流程编号">
|
||||||
|
<template #default="{ row,index }">
|
||||||
|
<div @click="view(row)">{{row.prcNum}}</div>
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
<vxe-column show-overflow show-header-overflow field="prcType"
|
||||||
|
title="流程类型">
|
||||||
|
<template #default="{ row,index }">
|
||||||
|
<div>{{getPrcName(row.prcType)}}</div>
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
|
||||||
<vxe-column show-overflow show-header-overflow field="prcName" title="流程名称">
|
<vxe-column show-overflow show-header-overflow field="prcName" title="流程名称">
|
||||||
<template #default="{ row,index }">
|
<template #default="{ row,index }">
|
||||||
<div @click="viewDetails(row)">{{getPrcName(row.prcName)}}</div>
|
<div @click="view(row)">{{row.prcName}}</div>
|
||||||
</template>
|
</template>
|
||||||
</vxe-column>
|
</vxe-column>
|
||||||
<vxe-column show-overflow show-header-overflow field="creatUserName"
|
<vxe-column show-overflow show-header-overflow field="creatUserName"
|
||||||
|
|||||||
Reference in New Issue
Block a user