能力申请
This commit is contained in:
parent
ca69c86577
commit
50d0576a70
|
@ -2,13 +2,12 @@
|
|||
* @Author: hisense.liangjunhua
|
||||
* @Date: 2022-06-29 15:59:51
|
||||
* @LastEditors: hisense.liangjunhua
|
||||
* @LastEditTime: 2022-06-29 17:21:00
|
||||
* @LastEditTime: 2022-06-29 18:17:07
|
||||
* @Description: 告诉大家这是什么
|
||||
-->
|
||||
<!-- 流程业务表单 -->
|
||||
<template>
|
||||
<el-card shadow="never" class="aui-card--fill" :key='showKey'>
|
||||
|
||||
<!-- 申请人详情 -->
|
||||
<div>
|
||||
<h3>申请人信息</h3>
|
||||
|
@ -73,7 +72,7 @@
|
|||
</div>
|
||||
|
||||
<!-- 流程详情 -->
|
||||
<ren-process-detail-import></ren-process-detail-import>
|
||||
<ren-process-detail></ren-process-detail>
|
||||
</el-card>
|
||||
</template>
|
||||
|
||||
|
@ -82,7 +81,7 @@
|
|||
import processModule from '@/mixins/process-module'
|
||||
import debounce from 'lodash/debounce'
|
||||
import qs from 'qs'
|
||||
import RenProcessDetailImport from '@/components/ren-process-detail/src/ren-process-detail-import'
|
||||
import RenProcessDetail from '@/components/ren-process-detail/src/ren-process-detail'
|
||||
export default {
|
||||
// 注入公共方法
|
||||
mixins: [processModule],
|
||||
|
@ -142,7 +141,7 @@ export default {
|
|||
// }
|
||||
},
|
||||
components: {
|
||||
RenProcessDetailImport
|
||||
RenProcessDetail
|
||||
},
|
||||
methods: {
|
||||
init () {
|
||||
|
|
|
@ -150,6 +150,16 @@ export function nengliziyuanshangjiaapply(params) {
|
|||
params,
|
||||
})
|
||||
}
|
||||
export function getTaskVariables(params) {
|
||||
return request({
|
||||
url:
|
||||
'/act/task/getTaskVariables?taskId=' +
|
||||
params.taskId +
|
||||
'&variableName=tAbilityApplicationDTOList',
|
||||
method: 'get',
|
||||
params,
|
||||
})
|
||||
}
|
||||
// 能力下架申请
|
||||
export function undercarriage(data) {
|
||||
return request({
|
||||
|
|
|
@ -509,6 +509,7 @@
|
|||
getTaskHandleDetailInfo,
|
||||
getDemandForm,
|
||||
nengliziyuanshangjiaapply,
|
||||
getTaskVariables,
|
||||
} from '@/api/personalCenter'
|
||||
import { selectOneDel } from '@/api/home'
|
||||
const downloadFile = (path, name) => {
|
||||
|
@ -593,6 +594,12 @@
|
|||
resourceId: { type: String, default: null },
|
||||
})
|
||||
const getInfo = () => {
|
||||
console.log(props.processInstanceId, '============================')
|
||||
if (props.processDefinitionName == '能力申请') {
|
||||
getTaskVariables({ taskId: props.processInstanceId }).then((res) => {
|
||||
console.log('获取数据====================>', res.data.data)
|
||||
})
|
||||
}
|
||||
if (props.processDefinitionName == '能力申请流程') {
|
||||
getApplyForm(props.businessKey).then((res) => {
|
||||
const { data } = res.data
|
||||
|
@ -662,6 +669,7 @@
|
|||
})
|
||||
|
||||
const getResourceURL = () => {
|
||||
console.log('111111111111111111111111111111', Cookies.get('token'))
|
||||
const params = qs.stringify({
|
||||
token: Cookies.get('token'),
|
||||
// processInstanceId: this.dataForm.processInstanceId
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
<div class="content-body-content">
|
||||
<p class="content-body-content-son">
|
||||
审核结果:{{
|
||||
item.ended ? '审核完成' : item.backToFirst ? '被驳回' : '审核中'
|
||||
item.ended ? '审核完成' : item.backToFirst ? '被终止' : '审核中'
|
||||
}}
|
||||
</p>
|
||||
</div>
|
||||
|
@ -95,10 +95,16 @@
|
|||
<div></div>
|
||||
</div>
|
||||
<div class="button-box">
|
||||
<div class="button" @click="showDetail(item)">查看流程</div>
|
||||
<div class="button" @click="showAdd(item)" v-if="item.backToFirst">
|
||||
修改
|
||||
<div
|
||||
class="button"
|
||||
@click="showDetail(item)"
|
||||
v-if="!(item.processDefinitionName == '能力申请')"
|
||||
>
|
||||
查看流程
|
||||
</div>
|
||||
<!-- <div class="button" @click="showAdd(item)" v-if="item.backToFirst">
|
||||
修改
|
||||
</div> -->
|
||||
<div
|
||||
v-if="
|
||||
!(
|
||||
|
@ -107,7 +113,11 @@
|
|||
item.ended == false
|
||||
)
|
||||
"
|
||||
v-show="item.resourceStatusTip == '正常' && item.ended"
|
||||
v-show="
|
||||
item.resourceStatusTip == '正常' &&
|
||||
item.ended &&
|
||||
item.processDefinitionName !== '能力申请'
|
||||
"
|
||||
class="button button-details"
|
||||
@click="
|
||||
viewDetail(
|
||||
|
|
Loading…
Reference in New Issue